Skip to main content

Practice ยท 3 of 4

The Right Type for Each Field

Input type changes everything: mobile keyboards, validation, semantics. Fill the three gaps: a password field, an email field, and a field for choosing a date of birth (use type="date"). Each keeps its existing id. Rules: - password for the secret, email for the address, date for the birthday. - Don't touch ids, labels, or anything else.

Difficulty: beginner

Back to lesson: Practice: Forms & Input โ€” Practice