WEB、始めました

半年間WEB制作の学校に通います。その記録。

2016-03-27から1日間の記事一覧

40日目 アコーディオンパネル

■アコーディオンパネル http://tototo.webcrow.jp/BlogUp/1/accordion.html <html lang="ja"> <head> <meta charset="utf-8"> <title>アコーディオンパネル</title> <link rel="stylesheet" href="style.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> <script> $(function(…</link></meta></head></html>

39日目 jQuery基本 onClick続き toggle show hide not:animated slide fade animate

■jQueryの命令-HTMLの移動(wrap)- <h1><strong>テキストテキスト</strong></h1> <h1><strong>テキストテキスト</strong></h1> となる ひとつずつ囲む <html lang="ja"> <head> <meta charset="utf-8"> <title>jQueryの命令-HTMLの囲み(wrap)-</title> <script src="../../js/jquery-2.2.1.min.js"></script> <script> $(function() { $('strong').…</meta></head></html>

38日目 jQuery基本 onClick onMouseover

■nth-child擬似クラス 上から3番目に出てきたliに適用 <html lang="ja"> <head> <meta charset="utf-8"> <title>jQueryの練習-nth-child擬似クラス-</title> <script src="../../js/jquery-2.2.1.min.js"></script> <script> $(document).ready(function() { $('li:nth-child(3)').css('color','coral'); }); </script> </head> </html>

37日目 jQuery 基本

■要素セレクタ要素に対して色変更を適用 <html lang="ja"> <head> <meta charset="utf-8"> <title>jQueryの練習-要素セレクター-</title> <script src="js/jquery-2.2.1.min.js"></script> <script> $(document).ready(function() { $('li').css('color','red'); }); </script> </head> <body> <ul> <li>HTML5+CSS3</li> <li>JavaScript…</li></ul></body></html>

36日目 習熟度確認試験2 JavaScript

課題サイト ※以下の指示に従って、プログラムを作成しなさい。 ・表示は全てブラウザ上に表示するように記述すること ・DOMまたはwrite()メソッドと指定がない場合は、どちらでも可。 ・CSSの記述は不要(必然性があれば記述可) 【問1】サムネール(5個)にマ…