1.1 KiB
1.1 KiB
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
bad87fee1348bd9aec908847 | Bootstrap の行を分割する | 0 | 18306 | split-your-bootstrap-row |
--description--
Bootstrap の行ができたので、要素を収める 2 つの列に分割しましょう。
行の中に 2 つの div
要素を作成し、どちらにもクラス col-xs-6
を付けてください。
--hints--
2 つの div class="col-xs-6"
要素を div class="row"
要素の中に入れます。
assert($('div.row > div.col-xs-6').length > 1);
div
要素にはすべて終了タグが必要です。
assert(
code.match(/<\/div>/g) &&
code.match(/<div/g) &&
code.match(/<\/div>/g).length === code.match(/<div/g).length
);
--seed--
--seed-contents--
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
</div>
</div>
--solutions--
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6"></div>
<div class="col-xs-6"></div>
</div>
</div>