Checkpoint: JavaScript Foundations
Prove your fundamentals: variables, functions, arrays, objects, and async — a graded understanding check, not memorization.
This checkpoint tests whether you can use the JavaScript you have learned — prediction, small implementations, and one async step. Nothing new is taught here. If something fails, the test names tell you exactly which concept to revisit.
What it covers
- Variables and types (
const/let, strings, numbers, booleans) - Functions with parameters and returns
- Arrays and objects, including arrays of objects
- Working with promises and
await
Before you move on: the self-check
The challenge proves you can do; this list checks you can explain. For each point, answer out loud in a sentence or two:
- Why
constfor a value that never changes, and what reassignment actually does to aletbinding. - What a parameter is versus an argument — and what
returndoes thatconsole.logdoes not. - Why
for...offits lists of data, and when a plain counted loop is clearer. - What makes an object different from an array, and how you reach a value nested inside an array of objects.
- What
awaitpauses — and why the code after it does not run until the promise settles.
Any point you cannot explain is a precise reading assignment: go back to that lesson, re-run its challenge from a blank editor, then try the explanation again.
Struggle here? Revisit the failing lesson, then retry — retaking a checkpoint is normal practice, not defeat.
After passing: the module project — an interactive web app.