Forms & inputs
A <form> collects user input. A <label> describes a field, an <input>
captures the value, and a <button> submits it.
<form>
<label for="email">Email</label>
<input id="email" type="email" />
<button type="submit">Sign up</button>
</form>
Three pieces go inside the form: a label, an input, and a button. Drag the blocks in, or tap the hint to add them one at a time.
Your task
Build a form with a <label> (text Name), a text <input>, and a
<button> that says Submit.
β‘ 35 XP
Hints
index.htmliframe
Loading editorβ¦
Preview
Run your code to see test results.