--- id: bad87fee1348bd9aedf08829 title: Criar um campo de texto challengeType: 0 videoUrl: 'https://scrimba.com/p/pVMPUv/c2EVnf6' forumTopicId: 16823 dashedName: create-a-text-field --- # --description-- Agora vamos criar um formulário web. Os elementos `input` são uma maneira conveniente de obter informações de seu usuário. Você pode criar um input de texto dessa forma: ```html ``` Observe que os elementos `input` fecham em si mesmos. # --instructions-- Crie um elemento `input` do tipo `text` abaixo das listas. # --hints-- A página deve ter um elemento `input` do tipo `text`. ```js assert($('input[type=text]').length > 0); ``` # --seed-- ## --seed-contents-- ```html

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
``` # --solutions-- ```html

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```