Files
freeCodeCamp/curriculum/challenges/ukrainian/03-front-end-development-libraries/bootstrap/split-your-bootstrap-row.md
2023-08-14 21:37:40 +05:30

1.2 KiB
Raw Blame History

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>