JavaScript Fundamentals
Go from your first variable to working with the DOM and async code you can actually reason about.
This course is for members
$9 unlocks every course in the library, this one included, plus a credit to build a topic of your own and at least 10 new courses every month.
What you will learn about JavaScript Fundamentals
The 7-day sprint
- Values, Types, and Variables. A JavaScript program is a series of values you create, name, and then use again later.
- Operators, Expressions, and Coercion. Operators combine values into expressions, and JavaScript will quietly convert types unless you stop it.
- Control Flow: Choices and Loops. Conditionals let your program pick a path, and loops let it repeat work without repeating code.
- Functions, Parameters, and Scope. A function packages a piece of behavior under a name so you can run it with different inputs and get a value back.
- Objects, Arrays, and References. Objects group related values under keys, arrays hold ordered lists, and both are handled by reference rather than copied.
- The DOM and Events. The browser exposes the page as a tree of objects you can read and change, and it tells you when the user does something.
- Asynchronous JavaScript and the Event Loop. JavaScript runs your code on one thread and handles waiting by queuing callbacks, which is what promises and
async/awaitorganize.
The 80/20: the 6 concepts that matter most
- Values, bindings, and mutation versus reassignment
- Functions as values, and closures
- Array methods over manual loops
- Truthiness, strict equality, and safe defaults
- The event loop, promises, and async/await
- The DOM as objects, and events as callbacks
The core idea, explained like you are 5
Everything in JavaScript is a value, and a variable is just a name tag pointing at a value, not a container holding it.
Then the quiz and the ladder
10 questions that correct you when you are wrong, and beginner, intermediate, advanced levels, each with a practical exercise.
Created Sep 12, 2026. No mistakes have been reported by learners.
Written from these sources
- JavaScript Guide - MDN Web Docs - Mozilla, developer.mozilla.org. structure of the 7 day sprint and core topics.
- JavaScript - MDN Web Docs - Mozilla, developer.mozilla.org. language overview, dynamic and prototype based nature.
- Dynamic scripting with JavaScript - Learn web development | MDN, developer.mozilla.org. beginner sequencing for days 1 to 6.
- Concurrency model and Event Loop - JavaScript | MDN, devdoc.net. day 7 stack, queue, run to completion, never blocking.
- ECMAScript® 2025 Language Specification, tc39.es. expert stage on types, bindings, and equality algorithms.
- ECMAScript 2025: The best new features in JavaScript | InfoWorld, infoworld.com. current state of the language in 2025.
- Grammar and types - JavaScript - MDN Web Docs - Mozilla, developer.mozilla.org. types, declarations, coercion questions and beginner lessons.
- Closures - JavaScript - MDN Web Docs - Mozilla, developer.mozilla.org. closure questions and the advanced closure lesson.
- Closure - Glossary - MDN Web Docs, developer.mozilla.org. counter closure example in question nine.
- Equality comparisons and sameness - JavaScript | MDN, developer.mozilla.org. equality and object identity questions.
- Using microtasks in JavaScript with queueMicrotask() - Web APIs | MDN, developer.mozilla.org. event loop ordering question and async lesson.
- JavaScript language overview - JavaScript | MDN, developer.mozilla.org. primitive types and first class functions framing.