Files
freeCodeCamp/curriculum/challenges/arabic/03-front-end-development-libraries/bootstrap/create-bootstrap-wells.md
2022-10-20 09:13:17 -07:00

1.5 KiB

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
bad87fee1348bd9aec908848 إنشاء Wells بأسلوب Bootstrap 0 16825 create-bootstrap-wells

--description--

Bootstrap لديه فئة يسمى well يمكنه إنشاء إحساس بصري بالعمق للعمود.

أدخل عنصر div واحد مع فئة well داخل كل عنصر من عناصر col-xs-6 في div.

--hints--

يجب عليك إضافة عنصر div مع فئة well داخل كل عنصر من عناصر div مع فئة col-xs-6

assert($('div.col-xs-6').not(':has(>div.well)').length < 1);

يجب أن يتداخل عنصري div مع فئة col-xs-6 داخل عنصر div مع فئة 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 class="col-xs-6">

    </div>
    <div class="col-xs-6">

    </div>
  </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 class="well"></div>
    </div>
    <div class="col-xs-6">
      <div class="well"></div>
    </div>
  </div>
</div>