The browser
This part is the browser side of the same language: the DOM from a typed querySelector to a node that is created and added, events and one delegated listener, fetch inside the page, a form with validation, and the storage a page keeps between visits.
10.1
DOM basics
querySelector with its type, the null it can return, text changed, a node added
Open
10.2
DOM events
addEventListener, the event target typed, one delegated listener, and cleanup
Open
10.3
Fetch in browsers
fetch a JSON GET, POST a form, check ok before parsing, abort a slow call
Open
10.4
Forms
typed input values, validation on submit, an error next to its field, preventDefault
Open
10.5
Web storage
localStorage as strings, a fallback on read, JSON for an object, sessionStorage per tab
Open