--- id: bad87fee1348bd9aedf08829 title: Create a Text Field challengeType: 0 videoUrl: 'https://scrimba.com/p/pVMPUv/c2EVnf6' forumTopicId: 16823 localeTitle: 创建一个输入框 --- ## Description
现在让我们来创建一个form表单。 input输入框可以让你轻松获得用户的输入。 你可以像这样创建一个文本输入框: <input type="text"> 注意:input输入框是没有结束标记的。
## Instructions
在列表下面创建一个type属性为textinput输入框。
## Tests
```yml tests: - text: '网页中有一个type属性为textinput输入框。' testString: assert($("input[type=text]").length > 0); ```
## Challenge Seed
```html

CatPhotoApp

Click here to view more cat photos.

一只仰卧着的萌猫

猫咪最喜欢的三件东西:

  • 猫薄荷
  • 激光笔
  • 千层饼

猫咪最讨厌的三件东西:

  1. 跳蚤
  2. 打雷
  3. 同类
```
## Solution