Runtyme
All practice problems

Frontend Engineering · HTML & CSS · Hard

HTML & CSS practice: Waitlist Form

A form with placeholder text and nothing else. The email box must only accept emails. People typed their PIN code! The button must say “Subscribe”.

The problem

  • The email box must only accept emails. People typed their PIN code!
  • The button must say “Subscribe”.
  • Must pass: Email box only takes emails.
  • Must pass: Button says “Subscribe”.

You'll use: HTML · CSS · Accessibility · Responsive design · Forms

Solve it (expert level)3–6 min · You write HTML & CSS
Show a hint

Add type="email" to the email input.

What this teaches (spoiler)

Placeholders are not labels: they disappear on typing and aren't reliably announced. Use real <label>s and the right input types.

Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.