freeCodeCamp/curriculum/challenges/russian/03-front-end-libraries/bootstrap/apply-the-default-bootstrap...

1.7 KiB
Raw Blame History

id title challengeType videoUrl localeTitle
bad87fee1348bd9aec908850 Apply the Default Bootstrap Button Style 0 Применить стиль кнопки Bootstrap по умолчанию

Description

В Bootstrap есть еще один класс кнопок btn-default . Примените оба btn и btn-default к каждому из ваших элементов button .

Instructions

Tests

tests:
  - text: Примените класс <code>btn</code> к каждому из ваших элементов <code>button</code> .
    testString: 'assert($(".btn").length > 5, "Apply the <code>btn</code> class to each of your <code>button</code> elements.");'
  - text: Примените <code>btn-default</code> к каждому из ваших элементов <code>button</code> .
    testString: 'assert($(".btn-default").length > 5, "Apply the <code>btn-default</code> class to each of your <code>button</code> elements.");'

Challenge Seed

<div class="container-fluid">
  <h3 class="text-primary text-center">jQuery Playground</h3>
  <div class="row">
    <div class="col-xs-6">
      <div class="well">
        <button></button>
        <button></button>
        <button></button>
      </div>
    </div>
    <div class="col-xs-6">
      <div class="well">
        <button></button>
        <button></button>
        <button></button>
      </div>
    </div>
  </div>
</div>

Solution

// solution required