--- id: bad87fee1348bd9aedf08829 title: Create a Text Field challengeType: 0 videoUrl: 'https://scrimba.com/p/pVMPUv/c2EVnf6' forumTopicId: 16823 dashedName: create-a-text-field --- # --description-- Now let's create a web form. `input` elements are a convenient way to get input from your user. You can create a text input like this: ```html ``` Note that `input` elements are self-closing. # --instructions-- Create an `input` element of type `text` below your lists. # --hints-- Your app should have an `input` element of type `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
```