Learn Intermediate JavaScript
Take JavaScript further: classes and inheritance, modules, promises and async/await, HTTP requests with fetch, debugging and error handling, and how the language works under the hood.
- Intermediate level
- 8 modules
- 49 lessons
- 188 tasks and questions
Syllabus
01ClassesBuild objects from classes: write constructors and methods, use getters and setters, share behavior with inheritance, extend and override parent methods with super, add static helpers, and keep data truly private with # fields.9 lessons
02ModulesLearn where JavaScript runs and why code is split into modules: runtime environments, the closure-based module pattern, Node's CommonJS require and module.exports, and standard ES modules with import and export.4 lessons
03PromisesWrite code that waits without freezing: understand asynchronous execution and setTimeout, create promises, consume them with then, catch and finally, chain dependent steps, and run several at once with Promise.all.7 lessons
04Async and AwaitWrite asynchronous code that reads like synchronous code: async functions, the await operator, sequential steps, error handling with try...catch, and running independent tasks together with Promise.all.7 lessons
05RequestsTalk to web servers: how HTTP requests and responses work, JSON, sending GET and POST requests with fetch(), checking status codes, and writing request code with async and await.6 lessons
06Errors and DebuggingTurn errors into information: read error messages and stack traces, recognize the common error types, hunt down silent bugs with console.log(), throw your own errors, handle them with try...catch, create custom error classes, and get unstuck with documentation.7 lessons
07JavaScript Under the HoodSee how JavaScript really behaves: hoisting and the temporal dead zone, closures, currying, the event loop that schedules callbacks and promises, and how memory is managed and leaked.5 lessons
08Best Practices and Design PatternsWrite code that stays easy to change: habits like pure functions and clear names, then four widely used design patterns, singleton, factory, observer and strategy, implemented in modern JavaScript.4 lessons