Skip to content
05The Code Museum

View source

Thirteen chapters in how the Web was built, each with a working example you can edit. Your code runs in a sandboxed frame with no access to this museum, your storage or your cookies.

1995 onward

JavaScript

Brendan Eich created JavaScript at Netscape in 1995. It was standardised as ECMAScript in 1997.

Early scripts validated forms, swapped images on mouse-over and opened pop-up windows. Here is the classic image rollover, recreated with coloured boxes.

Tab inserts spaces · press Esc then Tab to leave the editor

Live preview · sandboxed

The preview iframe uses sandbox="allow-scripts allow-modals" without allow-same-origin: scripts run, but in an opaque origin isolated from Webvolution.