Client-Side Form Validation
Three layers of defence that catch bad input before it ever leaves the browser.
What this unit covers
Unit 6: DOM, Events and Validation
- 1 The Document Object ModelYour page is secretly a tree — learn to climb it, and you can reshape anything. · 10 min
- 2 Selecting and Changing ElementsFind any element in the tree, rewrite it, restyle it — or grow new branches. · 16 min
- 3 Events and Event ListenersClicks, keys, scrolls and submits — hear everything, and answer with style. · 10 min
- 4 Client-Side Form ValidationThree layers of defence that catch bad input before it ever leaves the browser. · 15 min