Chapter 02
Forms, dialog, and popover
The interactive parts of HTML that work without JavaScript: form submission and validation, button behaviour, and the<dialog>, popover, and <details> primitives.- 010What happens when a form is submitted — what is sent, and how?Coremedium
- 020How do input types,
inputmode, andautocompleteshape what the user gets?easy - 030Why does a
<button>inside a form submit it, and how do you control which form and action it uses?easy - 040How does native constraint validation work, and how do you customise it?Coremedium
- 050How does
<dialog>work —show()vsshowModal(), closing, and the return value?Coremedium - 060What does the
popoverattribute give you, and how is it different from<dialog>?medium - 070How do
<details>and<summary>work, including exclusive accordions?easy