mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-26 13:01:43 -04:00
1.2 KiB
1.2 KiB
id, title, challengeType, forumTopicId, dashedName
| id | title | challengeType | forumTopicId | dashedName |
|---|---|---|---|---|
| bad87fee1348bd9aec908847 | Розділіть ряд Bootstrap | 0 | 18306 | split-your-bootstrap-row |
--description--
Ми маємо ряд Bootstrap. Розділимо його на два стовпці, щоб розмістити елементи.
Створіть два елементи div в межах ряду, обидва з класами col-xs-6.
--hints--
Два елементи 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>