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

1.7 KiB

id title challengeType videoUrl localeTitle
bad87fee1348bd9aec908850 Apply the Default Bootstrap Button Style 0

Description

يحتوي Bootstrap فئة زر آخر يسمى btn-default . قم btn فئات btn و btn-default على كل عنصر من عناصر button الخاص بك.

Instructions

Tests

tests:
  - text: قم <code>btn</code> فئة <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>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