1.5 KiB
1.5 KiB
id, title, challengeType, forumTopicId, localeTitle
id | title | challengeType | forumTopicId | localeTitle |
---|---|---|---|---|
bad87fee1348bd9aec908847 | Split Your Bootstrap Row | 0 | 18306 | Разделите строку Bootstrap |
Description
Создайте два div
элемента, оба с классом col-xs-6
, внутри вашей строки.
Instructions
Tests
tests:
- text: Nest two <code>div class="col-xs-6"</code> elements within your <code>div class="row"</code> element.
testString: assert($("div.row > div.col-xs-6").length > 1);
- text: Make sure all your <code>div</code> elements have closing tags.
testString: assert(code.match(/<\/div>/g) && code.match(/<div/g) && code.match(/<\/div>/g).length === code.match(/<div/g).length);
Challenge Seed
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
</div>
</div>
Solution
<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>