Learn Node.js by running it, not just reading it.
A 20-level roadmap with live code, animated visualizers for the event loop and runtime, and simulators for every core module — all in your browser.
const os = require('os');
console.log('Hello from the browser!');
console.log('Pretending to be:', os.platform());
process.nextTick(() => console.log('1. nextTick'));
Promise.resolve().then(() => console.log('2. promise'));
setTimeout(() => console.log('3. setTimeout'), 0);Why learn Node.js?
It powers everything from startups to streaming giants — and it's the shortest path from JavaScript to full-stack.
Non-blocking by design
One thread handles thousands of connections thanks to the event loop — perfect for APIs, real-time apps, and streaming.
One language everywhere
JavaScript on the frontend and backend. Share code, types, and validation logic across your whole stack.
The npm ecosystem
Over two million packages. Whatever you need — authentication, databases, testing — someone has built it.
Industry standard
Netflix, PayPal, LinkedIn, and Uber run Node.js in production. It's one of the most in-demand backend skills.
A path, not a pile of tutorials
Twenty levels that build on each other — from your first console.log to a complete REST API.
Introduction to Node.js
What Node.js is, why it exists, and where it shines.
Installing Node.js
Install Node with nvm, verify versions, and understand LTS.
Running Your First Program
Write and run your first script, use the REPL, and read CLI args.
Modules (CommonJS & ES Modules)
require, module.exports, import/export, and how resolution works.
npm and Package Management
package.json, dependencies, scripts, and semantic versioning.
Node.js Runtime
V8, libuv, bindings — how your JavaScript actually runs.
Global Objects
process, __dirname, globalThis, timers, and more.
File System (fs)
Read, write, append, and delete files — sync, callback, and promise APIs.
Everything is interactive
In-browser playground
A real code editor with a file explorer and console. Node core modules run right in your browser — no install.
Event loop, animated
Step through the call stack, microtasks, timers, and setImmediate to finally understand execution order.
Runtime visualizer
See how your code travels through V8, Node APIs, libuv, and back — one step at a time.
Hands-on simulators
File system, streams, HTTP, buffers, npm, modules — every core concept has an interactive lab.
20-level roadmap
A structured path from “what is Node?” to building real REST APIs, with quizzes at every level.
Progress & streaks
Earn XP, keep a learning streak, unlock achievements, and track quiz scores on your dashboard.
Real Node.js, in the browser
The playground ships with working implementations of fs, path, os, events, buffers, timers, and require() over a virtual file system. Multi-file projects, async code, and the event loop all behave like the real thing.
- Monaco editor — the same engine as VS Code
- Multi-file projects with a working require()
- Console output, errors, and stack traces
- Auto-saved to your browser
const EventEmitter = require('events');
const fs = require('fs');
const bus = new EventEmitter();
bus.on('saved', (file) => console.log('saved:', file));
fs.writeFileSync('/journal.txt', 'Day 1: learned the event loop');
bus.emit('saved', '/journal.txt');
process.nextTick(() => console.log('runs before promises!'));
Promise.resolve().then(() => console.log('microtask'));
setTimeout(() => console.log('macrotask'), 0);Learners say it best
“The event loop simulator finally made setTimeout vs setImmediate click for me. I'd read five articles and none of them stuck like this did.”
“Being able to run fs and EventEmitter code without installing anything meant I could practice on my lunch break. The quizzes keep me honest.”
“I used the HTTP simulator to explain request routing to my junior teammates. It's now part of our onboarding.”
Frequently asked questions
No. The playground and all simulators run entirely in your browser using a sandboxed JavaScript worker with faithful shims of Node's core modules. When you're ready to work locally, Level 2 walks you through installing the real thing.
Your backend journey starts with node index.js
Level 1 takes twelve minutes. No account, no setup — just open the first lesson and start running code.
Begin Level 1