--- id: bad87fee1348bd9aed908845 title: Style Text Inputs as Form Controls required: - link: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css' raw: true challengeType: 0 videoUrl: '' localeTitle: Ввод текста стиля как элемент управления формой --- ## Description
Вы можете добавить значок шрифта FA fa-paper-plane Font Awesome, добавив в элемент button отправки <i class="fa fa-paper-plane"></i> . Введите поле ввода текста в form-control класса управления form-control . Отправьте кнопку отправки формы в классы btn btn-primary . Также дайте этой кнопке значок Font Awesome для fa-paper-plane . Все текстовые элементы <input> , <textarea> и <select> с классом .form-control имеют ширину 100%.
## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert($("button[type=\"submit\"]").hasClass("btn btn-primary"), "Give the submit button in your form the classes btn btn-primary.");' - text: '' testString: 'assert($("button[type=\"submit\"]:has(i.fa.fa-paper-plane)").length > 0, "Add a <i class="fa fa-paper-plane"></i> within your submit button element.");' - text: input текст в форме form-control . testString: 'assert($("input[type=\"text\"]").hasClass("form-control"), "Give the text input in your form the class form-control.");' - text: 'Убедитесь, что у каждого из ваших элементов i есть закрывающий тег.' testString: 'assert(code.match(/<\/i>/g) && code.match(/<\/i/g).length > 3, "Make sure each of your i 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 ```