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

1.2 KiB

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
bad87fee1348bd9aec908847 تقسيم Row بواسطة Bootstrap 0 18306 split-your-bootstrap-row

--description--

الآن بعد أن كان لدينا صف Bootstrap، دعونا نقسمه إلى عمودين لإيواء عناصرنا.

أنشئ عنصرين div داخل الصف الخاص بك، وكلاهما يحتوي فئة باسم col-xs-6.

--hints--

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

--solutions--

<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>