Unlike PHP, this runs in the browser — so it can change the page after it has already loaded.
1-example.html — Your first function2-loops.html — Loops3-changingSelects.html — Dynamic select boxes_old/ holds earlier versions of these examples (countdowns, form changes, a deliberate syntax error). Ignore it unless you are told otherwise.