--- id: bad87fee1348bd9aedb08845 title: Responsively Style Radio Buttons required: - link: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css' raw: true challengeType: 0 videoUrl: '' localeTitle: '' --- ## Description
يمكنك استخدام صفوف col-xs-* في Bootstrap على عناصر form أيضًا! بهذه الطريقة ، سيتم توزيع أزرار الراديو الخاصة بنا بشكل متساوٍ عبر الصفحة ، بغض النظر عن مدى اتساع دقة الشاشة. ضع كلا من أزرار الراديو داخل عنصر <div class="row"> . ثم تداخل كل منها داخل عنصر <div class="col-xs-6"> . ملاحظة: كتذكير ، تعد أزرار الاختيار عناصر input من نوع radio .
## Instructions
## Tests
```yml tests: - text: '' testString: 'assert($("div.row:has(input[type=\"radio\"])").length > 0, "Nest all of your radio buttons inside one div with the class row.");' - text: '' testString: 'assert($("div.col-xs-6:has(input[type=\"radio\"])").length > 1, "Nest each of your radio buttons inside its own div with the class col-xs-6.");' - 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 ```