* fix: Chinese test suite Add localeTiltes, descriptions, and adjust test text and testStrings to get the automated test suite working. * fix: ran script, updated testStrings and solutions
1.2 KiB
1.2 KiB
id, title, challengeType, videoUrl, localeTitle
id | title | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
bad87fee1348bd9aec908847 | Split Your Bootstrap Row | 0 | 拆分你的Bootstrap行 |
Description
col-xs-6
在行中创建两个div
元素。 Instructions
Tests
tests:
- text: 在<code>div class="row"</code>元素中嵌套两个<code>div class="col-xs-6"</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
// solution required