Learn to code, from your first step to your first website.
Six trails take you from telling a robot where to walk all the way to the code that runs real websites: HTML, CSS, JavaScript, offline apps and servers. Every lesson answers why, what, how, when and where.
Your patches
Finish every lesson in a trail to earn its patch. Patches are saved in this browser on this device.
Every website is three things working together.
HTML is the skeleton. CSS is the look. JavaScript is the action. You will learn all three, then how they get to a phone a thousand miles away.
Six trails
See every lessonTrails, from first steps to full stack
Start where it fits. Little ones begin with Sprout and Robot Run with a grown-up reading aloud. Teens and adults can jump in at Builder or Inventor and fill gaps from the Word Bank.
Robot Run
Tap arrows to add steps. Then press Run. Avoid the rocks.
Gold Pass trails
Builder, Inventor, Engineer and Architect take you from your first real web page to the code that runs whole websites: HTML and CSS, JavaScript, data, offline apps and servers. The Playground lets you build anything and see it right away.
They come with the Nuggie & Wormy Gold Pass. Explorers: ask a grown-up!
Playground
Tip: console.log("hi") prints in the black box under the result. The playground runs in a locked box, so saving with localStorage is switched off in here; it works once you save your page as its own file.
200 years of telling machines what to do
Big words, made small
Grown-ups corner
Using it offline
Code Trails is part of the Nuggie & Wormy Adventure Club at nuggie.nesohq.com. Open it once with internet on a computer, tablet or phone, and it opens again with no internet on that device, in any current browser. Sprout, Explorer, Robot Run, History and the Word Bank are free. Builder, Inventor, Engineer, Architect and the Playground come with the Gold Pass; ask about it in the club's Grown-ups corner.
Progress and patches are kept in that browser on that device. Nothing is sent anywhere and there are no accounts.
Helping without knowing code
- Read the Sprout lessons aloud, then play Robot Run together.
- Try it unplugged: tape a 6 × 6 grid on the floor and be the robot.
- Praise debugging. Finding the wrong step is the skill.
- Ask the five questions: why, what, how, when, where.
- Short and often beats long and rare.
A suggested path
| Age | Start with | Per session | Goal |
|---|---|---|---|
| 3–7 | Sprout + Robot Run, read aloud | 10–15 min | Sequences, loops, fixing bugs |
| 8–10 | Explorer | 15–20 min | If/else, variables, first HTML |
| 11–13 | Builder | 20–30 min | A styled page of their own |
| 14–16 | Inventor | 30–45 min | Interactive pages with JavaScript |
| 17+ | Engineer, then Architect | 45–60 min | Data, offline apps, servers, shipping |
Coming next
Video lessons are on the way. For now everything is reading, playing and building, which also keeps the file small enough to carry anywhere.
Start over
Clears every lesson, level and patch in this browser.