Try it yourself: interactive examples

Knowledge Videos

Short animated explainers, organised by subject.

Try it yourself

Small interactive examples for the ideas in the videos.

Bit switches

Flip eight switches and watch the number, and its ASCII letter, change.

From the videos: On and off: bits and bytes

Binary converter

Type a number to see it in binary, or type binary to see the number.

From the videos: On and off: bits and bytes

Text to ASCII

Type some text and see each character's ASCII number and its 8 bits.

From the videos: On and off: bits and bytes

Colour picker

Mix a colour from red, green and blue and see its rgb(), its hex code and the bits of each channel.

From the videos: What is CSS?

Box model playground

Slide padding, border and margin and watch a box and its total width change.

From the videos: The box model

Flexbox playground

Change flex-direction, justify-content, align-items, wrap and gap on a real flex container.

From the videos: Flexbox

JSON playground

Type JSON and see if it is valid, what it describes, how JavaScript reaches each value, and what the mistake is.

From the videos: Arrays and objects, Local storage and JSON

Git timeline

A pretend Git: edit files, then git add, git commit, git status and git log, and undo an edit.

From the videos: What is Git?

DOM explorer

A small page and its DOM tree: click a node to see how JavaScript finds it, and change its text.

From the videos: The DOM

Go vs JavaScript

Pick an idea (variable, loop, list, error...) and see the JavaScript and the Go side by side.

From the videos: Variables and types, If, for and switch, Slices and maps, Structs and methods

Go type checker

Pick a type and a value and see whether Go would accept it, with the compiler's own message.

From the videos: Variables and types

HTTP request builder

Choose a method, a path and a body, and see the exact request text and the response a pretend Go server would send.

From the videos: How a web server works, Routes, methods and status codes, A JSON API in Go, POST and saving data

SQL query builder

Pick columns, a WHERE test and an ORDER BY, and see the SQL and the rows it would return from a small pets table.

From the videos: What is a database?, SQL basics

Request journey

Follow one click from the page through fetch, the internet, the Go server and the database, and back, step by step.

From the videos: How the whole app fits together

Developer safety checklist

Tick the habits that keep you and other people safe when you build and share an app.

From the videos: Staying safe as a developer