WitzCode
← All tracks
📄 HTML·Forms & Inputs

Forms & Inputs

Collect input from users.

Forms

Use <form> with <input> and <button> to take input.

<form>
  <label for="n">Name</label>
  <input id="n" name="name" placeholder="Your name" />
  <button>Send</button>
</form>
Challenge 1 / 20 XP

Which input type hides typed characters?

Practical task

Build a form with a text input named `email` and a button.