HTML bootcamp · Lab 33

Number input

easyInput Types8 minLesson: Input Types

Read the question, write HTML on the right, then Preview or Check.

QuestionHint and solution stay closed until you open them

Label Age with type="number" name="age".

Examples

Example 1
Expected
number input
Hint
  1. type="number"
Show correct code

Peek only after you have tried. You can still Check your own version.

<label>Age
  <input type="number" name="age">
</label>
index.htmlLive preview · Check reads the DOM
ResultIdle
Run to see output. Check grades the tests.