LEVEL 4 · JAVASCRIPT
Course Core
JavaScript in the browser and on the server
Use JavaScript where it runs: the DOM, events and browser APIs, networking from the browser, Node.js and its core modules, npm and the tooling around it, professional debugging, and Git.
0 of 13 lessons done
When you finish, you can
- Build an interactive page with the DOM and event delegation
- Call an API from the browser with fetch and explain CORS and cookies
- Use Node.js files, streams, processes, workers and crypto
- Build an HTTP API with node:http alone
- Manage dependencies with npm and explain semantic versioning and lockfiles
- Debug with breakpoints, stack traces and a repeatable method
- Work with Git branches, pull requests and releases
You build: A browser front end that talks to your own plain Node.js Task API
MODULE 1
Node.js
- 1What Node.js isLearn what Node.js adds to JavaScript, how its event loop decides what runs next, and how a program talks to the computer through process, exit codes and environment variables.35 min
- 2Files, paths and your computerUse Node.js's built-in modules to build safe file paths, read and write files and folders, learn about the computer, make random ids and hashes, and announce events. Then save tasks to a JSON file.40 min
- 3Streams and buffersLearn what the bytes behind text really are, then handle data piece by piece with readable, writable and transform streams, pipeline and readline, so a program can process files far bigger than its memory.35 min
- 4Events, processes and workersCoordinate a Node.js program with EventEmitter, run other programs as child processes, move heavy work to worker threads, and shut down cleanly on SIGTERM.55 min
- 5Cryptography with node:cryptoUse node:crypto correctly: unguessable tokens, hashes and HMAC webhook signatures, timing-safe comparison, scrypt password hashing and AES-256-GCM encryption.55 min
MODULE 3
HTTP without a framework
- 7An HTTP server with no frameworkBuild a web server with nothing but Node.js's node:http module. Read the method, path, headers, query and body of each request, send JSON back with the right status code, and route requests by hand.40 min
- 8Build a plain Node.js Task APIFinish a complete Task API with no framework, split into modules, with middleware, centralized error handling, API-key protection and configuration from the environment. Then look honestly at what hurts when it grows to 20,000 lines.50 min
MODULE 4
JavaScript in the browser
- 9The DOMRead and change a web page from JavaScript: find, create, update and remove elements safely, avoid innerHTML XSS, and build a task list UI rendered from data.50 min
- 10EventsMake pages respond to clicks, typing and forms: listeners, bubbling and capturing, preventDefault, event delegation, custom events and debounced search, in a real shopping cart.55 min
MODULE 5
Tooling and debugging
- 11The debugging methodFind bugs with a repeatable method (observe, reproduce, isolate, hypothesize, test, fix, verify), read stack traces, log well and shrink a bug to a minimal repro.50 min
- 12Debugging toolsPause a running program with breakpoints, step through it, watch values, inspect objects, debug Node.js and browser code, read network traffic and map compiled code back with source maps.55 min
Course checkpoint
Prove you can move on. The checkpoint picks 20 questions at random from every lesson in this course. Get 16 right to pass. Your result is saved in this browser only.