Files
freeCodeCamp/curriculum/challenges/russian/03-front-end-libraries/bootstrap/house-our-page-within-a-bootstrap-container-fluid-div.russian.md

1.5 KiB
Raw Blame History

id, title, challengeType, forumTopicId, localeTitle
id title challengeType forumTopicId localeTitle
bad87fee1348bd9aec908746 House our page within a Bootstrap container-fluid div 0 18198 Разместите нашу страницу в контейнере-контейнере Bootstrap div

Description

Теперь давайте убедимся, что все содержимое вашей страницы мобильно реагирует. Давайте вложим ваш элемент h3 элемент div с container-fluid класса.

Instructions

Tests

tests:
  - text: Your <code>div</code> element should have the class <code>container-fluid</code>.
    testString: assert($("div").hasClass("container-fluid"));
  - text: Make sure each of your <code>div</code> elements has a closing tag.
    testString: assert(code.match(/<\/div>/g) && code.match(/<div/g) && code.match(/<\/div>/g).length === code.match(/<div/g).length);
  - text: Nest your <code>h3</code> element inside a <code>div</code> element.
    testString: assert($("div").children("h3").length >0);

Challenge Seed

<h3 class="text-primary text-center">jQuery Playground</h3>

Solution

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