Command Palette

Search for a command to run...

Hectal
Phase 4: Forms
HTML · Exercise 2 of 5 PreviousNext
Beginner

A contact form

Build a contact form that sends its data with POST to /contact.

It needs three labelled fields: name (a text input), email (an email input) and message (a multi-line text box). Keep the Send button.

What Check tests

  1. The form posts to /contact
  2. The form sends name, email and message
  3. email is an email input
  4. message is a textarea
  5. Every field has a label

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.