Free learning playgrounds

Learn to code, brick by brick

Four interactive playgrounds to learn the basics of web development: HTML and CSS, JavaScript, SQL and Node.js. Each one runs in your browser around the same toy brick shop, in 20 short steps. No account, nothing to install.

How it works

The lesson and the editor sit side by side with the result. You write real code, and it’s checked live against what the step asks.

One idea per step

Each of the 20 steps explains a single concept, with a short example.

Checked as you type

Your code runs for real and every step tells you what is still missing.

Hints when you’re stuck

Hints come one at a time, the last one with the code to write.

Saved in your browser

Your progress and code stay on your device. Come back anytime.

Five languages

English, French, Spanish, Italian and German, picked from the top bar.

Open source

All the code is on GitHub. Issues and contributions are welcome.

The playgrounds

Each one stands on its own, but they share the same shop, so they work best together.

Brick by Brick

HTML & CSS

Learn layout by placing toy bricks on a baseplate. The code is on the left, a browser-like preview on the right, with dashed outlines showing where each brick must go. Every step comes with the definition of its CSS property.

padding background-color margin display: flex justify-content align-items flex-direction gap nesting

Brick Shop

JavaScript

Make the brick shop page work: the shop sign, the stock badges, the cart total, the search, the night mode and the order form. You get the page, a console and the list of checks, and you write the script.js.

const types if / else querySelector classList loops functions map / filter / find addEventListener localStorage FormData

Brick by Brick SQL

SQL

Query the shop’s database: a SQL editor on the left, a database client on the right, and a real SQLite database running in your browser. Read, filter, insert and update the bricks and orders, then join them.

SELECT AS ORDER BY WHERE LIKE dates AND / OR INSERT UPDATE JOIN

Brick Shop API

Node.js & Express

Write the backend of the shop. Your server.js runs as a live server, with an HTTP client, the database tables and the server log next to it. It ends with the shop page from the JavaScript playground calling your API.

routes req.query / req.params status codes POST / PUT / PATCH / DELETE validation REST middleware SQL fetch

Where to start

New to web development? Follow the shop from its page to its database.

  1. HTML & CSS: Build the page: boxes, spacing and layout with flexbox.
  2. JavaScript: Bring the page to life: data, conditions, events and forms.
  3. SQL: Store the bricks and the orders, and ask the database questions.
  4. Node.js: Connect everything: an API on top of the database, called by the page.

Free, and built in the open

The playgrounds are free to use, for yourself or with your students. Found a bug or an unclear step? Open an issue or send a pull request on GitHub.