--- id: bad87fee1348bd9aeda08845 title: Responsively Style Checkboxes required: - link: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css' raw: true challengeType: 0 videoUrl: '' localeTitle: Checkbox Style Responsively --- ## Description
يمكنك استخدام صفوف col-xs-* في Bootstrap على عناصر form أيضًا! بهذه الطريقة ، سيتم توزيع مربعات الاختيار الخاصة بنا بشكل متساوٍ عبر الصفحة ، بغض النظر عن مدى اتساع دقة الشاشة. وضع علامة على جميع ثلاثة من مربعات الاختيار في عنصر <div class="row"> . ثم تداخل كل منها في عنصر <div class="col-xs-4"> .
## Instructions
## Tests
```yml tests: - text: استبدل جميع مربعات الاختيار داخل div واحد row . testString: 'assert($("div.row:has(input[type=\"checkbox\"])").length > 0, "Nest all of your checkboxes inside one div with the class row.");' - text: عش كل من مربعات الاختيار داخل div الخاص بها باستخدام فئة col-xs-4 . testString: 'assert($("div.col-xs-4:has(input[type=\"checkbox\"])").length > 2, "Nest each of your checkboxes inside its own div with the class col-xs-4.");' - text: تأكد من أن كل عنصر من عناصر div لديه علامة إغلاق. testString: 'assert(code.match(/<\/div>/g) && code.match(/
/g).length === code.match(/
div elements has a closing tag.");' ```
## Challenge Seed
```html

CatPhotoApp

A cute orange cat lying on its back.
Three kittens running towards the camera.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```
## Solution
```js // solution required ```