Command Palette

Search for a command to run...

Hectal
Phase 4: Forms
HTML · Exercise 1 of 5Next
Beginner

A newsletter sign-up box

Inside the form, add an email box and a button so people can subscribe.

The input must be an email input named email, it must be required, and it needs a visible label connected to it. Add a submit button that says Subscribe.

What Check tests

  1. There is an email input named email
  2. The email input is required
  3. The input has a label with text
  4. There is a submit button that says Subscribe
  5. An empty form can't be submitted

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.