--- 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: Entradas de texto de estilo como controles de formulario --- ## Description
Puede agregar el ícono Font Awesome de fa-paper-plane agregando <i class="fa fa-paper-plane"></i> dentro del elemento del button envío. Déle al campo de entrada de texto de su formulario una clase de form-control de form-control . Déle a su formulario el botón de enviar las clases btn btn-primary . También dé a este botón el icono de Font Awesome de fa-paper-plane . Todos los elementos textuales <input> , <textarea> y <select> con la clase .form-control tienen un ancho del 100%.
## Instructions
## Tests
```yml tests: - text: Dale al botón de enviar en tu formulario las clases btn btn-primary . testString: 'assert($("button[type=\"submit\"]").hasClass("btn btn-primary"), "Give the submit button in your form the classes btn btn-primary.");' - text: Agrega un <i class="fa fa-paper-plane"></i> dentro de tu elemento de button envío. 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: Dale al texto input en tu formulario la clase form-control . testString: 'assert($("input[type=\"text\"]").hasClass("form-control"), "Give the text input in your form the class form-control.");' - text: Asegúrese de que cada uno de sus elementos i tenga una etiqueta de cierre. 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 ```