1.4 KiB
1.4 KiB
id, title, challengeType, forumTopicId, localeTitle
id | title | challengeType | forumTopicId | localeTitle |
---|---|---|---|---|
bad87fee1348bd9aec908847 | Split Your Bootstrap Row | 0 | 18306 | 分割你的 Bootstrap Row |
Description
col-xs-6
的 div
元素。
Instructions
Tests
tests:
- text: "将两个 <code>div class='col-xs-6'</code> 元素内嵌入你的 <code>div class='row'</code> 元素中。"
testString: assert($("div.row > div.col-xs-6").length > 1);
- text: 确保你的 <code>div</code> 元素都有一个闭合标签。
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>