--- id: bad87fee1348bd9aedd08835 title: Check Radio Buttons and Checkboxes by Default challengeType: 0 videoUrl: '' localeTitle: Сделайте радиокнопки и чекбоксы включенными по умолчанию --- ## Description
Вы можете сделать чекбокс или радиокнопку включенными по умолчанию с помощью атрибута checked. Для этого просто добавьте слово "checked" во внутреннюю часть тега input. Например:
## Instructions
Настройте первую из ваших radio buttons и первый из ваших checkboxes так чтобы они были отмеченны по умолчанию.
## Tests
```yml tests: - text: Ваш первый переключатель в вашей форме должен быть отмечен по умолчанию. testString: 'assert($("input[type="radio"]").prop("checked"), "Your first radio button on your form should be checked by default.");' - text: Ваш первый флажок в вашей форме должен быть отмечен по умолчанию. testString: 'assert($("input[type="checkbox"]").prop("checked"), "Your first checkbox on your form should be checked by default.");' ```
## Challenge Seed
```html

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

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