Small JavaScript examples
Explore inputs, events and state through three newly written demonstrations.
These examples preserve the themes and routes of the historic sample links. They use ordinary JavaScript and are separate from the original ADsafe runtime.
- Roman numerals
A new converter, one input and one output.
- Bats & events
A small illustration of local event handling.
- Sudoku & state
A four-by-four puzzle that keeps its state in the browser.
Read the examples
Follow text updates, events and local state step by step, then compare the demonstrations with the runtime reference.