freeCodeCamp/curriculum/challenges/russian/03-front-end-libraries/bootstrap/split-your-bootstrap-row.ru...

1.5 KiB
Raw Blame History

id title challengeType videoUrl localeTitle
bad87fee1348bd9aec908847 Split Your Bootstrap Row 0 Разделите строку Bootstrap

Description

После того, как мы создали строку Bootstrap, давайте разделим её на две колонки, чтобы хранить в них наши элементы.

Создайте два div элемента, оба с классом col-xs-6, внутри вашей строки.

Instructions

undefined

Tests

tests:
  - text: Поместите два элемента <code>div class=&quot;col-xs-6&quot;</code> в ваш элемент <code>div class=&quot;row&quot;</code> .
    testString: 'assert($("div.row > div.col-xs-6").length > 1, "Nest two <code>div class="col-xs-6"</code> elements within your <code>div class="row"</code> element.");'
  - text: 'Убедитесь, что все ваши элементы <code>div</code> имеют закрывающие теги.'
    testString: 'assert(code.match(/<\/div>/g) && code.match(/<div/g) && code.match(/<\/div>/g).length === code.match(/<div/g).length, "Make sure all your <code>div</code> elements have closing tags.");'

Challenge Seed

<div class="container-fluid">
  <h3 class="text-primary text-center">jQuery Playground</h3>
  <div class="row">


  </div>
</div>

Solution

// solution required