1.1 KiB
1.1 KiB
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
bad87fee1348bd9aec908746 | Bootstrap の container-fluid div の中にページを配置する | 0 | 18198 | house-our-page-within-a-bootstrap-container-fluid-div |
--description--
ページ上のすべてのコンテンツがモバイル対応になっていることを確認してみましょう。
クラス container-fluid
を持つ div
要素の中に h3
要素を入れてみましょう。
--hints--
div
要素にクラス container-fluid
を付けます。
assert($('div').hasClass('container-fluid'));
各 div
要素には終了タグが必要です。
assert(
code.match(/<\/div>/g) &&
code.match(/<div/g) &&
code.match(/<\/div>/g).length === code.match(/<div/g).length
);
div
要素の内側に h3
要素をネストします。
assert($('div').children('h3').length > 0);
--seed--
--seed-contents--
<h3 class="text-primary text-center">jQuery Playground</h3>
--solutions--
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
</div>