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.

2010 onward

Responsive design

Ethan Marcotte's 2010 article combined fluid grids, flexible images and media queries so one page could adapt to any screen.

Container queries (cross-browser in 2023) let components respond to their own space rather than the window. Resize the preview with the viewport buttons to see both.

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.