Choose a subject, understand its foundations and examples, then practise and build. These 30 routes have different scopes and tool requirements; they are not complete advanced qualifications.
Choose JavaScript 100 version 2, or continue the original 16 authored lessons and 14 written companions. These editions keep separate counts; existing progress and project access remain unchanged.
Learn the foundations
Read examples and try a change
Practise and check your reasoning
Build and explain a project
Begin with this subject’s foundations. Use each lesson’s readiness notes to revisit the preparation you need, then move from examples to your own work.
Use this sequence with the authored lessons below. Practise each topic, inspect the worked solution and retain your project evidence. Completion depends on concept checks and a separate project review.
01
Beginner
Values and equality
Conditions and loops
Functions
Arrays and objects
Evidence to keep: A working small example and your own explanation of each statement.
02
Intermediate
DOM and events
Modules
Errors
Promises
Evidence to keep: An example that handles invalid inputs, with tests showing the failure cases.
03
Advanced
Async and cancellation
Closures
Testing
Performance
Evidence to keep: A design tradeoff, measured behaviour and reproducible tests.
04
Applied project
Accessible interfaces
HTTP clients
Security boundaries
Build and deployment
Evidence to keep: A documented project, a test report and an explanation of the limits.
Build an original project
Expense tracker with validated amounts, category totals and tests for empty and invalid inputs.
Keep a README with setup, example inputs and outputs, test results, accessibility/security checks and known limits. Use synthetic or openly licensed data. Code review is needed before claiming professional readiness.
Eight connected lessons with worked steps, predictions, complete runnable practices and a cumulative project. Your original 16 JavaScript lessons and saved checks are unchanged; this is not a full course or certificate.
100 of 100 written lessons available · 10 ordered blocks · optional expanded path.
Begin with two statements, then build toward tested programs and browser interfaces. Read a small explanation, trace examples, try guided practice and attempt a changed task yourself.
This path does not save reading position, answers or completion, and does not award XP. Keep work in your own notebook or files. Your original course checks and project access stay unchanged.
Tools, original course & related practice
This written reader does not execute code or save assessment results. Follow each lesson’s environment notes: language fundamentals first; local Node.js for lessons 61–70; deterministic asynchronous examples for 71–80; browser DOM practice for 81–90 and 99. A separate laboratory is not verified for every task.
Use synthetic practice data. Browser and Node.js APIs are different; a successful example does not prove independent skill.
100-lesson path · choose a block or revisit a lesson
Follow the order or revisit freely. Readiness notes guide practice; they do not lock lessons or grant automatic credit.
SUBJECT → WRITTEN LESSON → INDEPENDENT PRACTICE
JavaScript: first program to a checked report
14 written-only companion lessons · ordered within each unit · no saved checks.
About these written lessons
Four legacy-scope depth revisions and ten scaffold editions. The existing JavaScript assessments and optional board remain unchanged.
Written-only learning. No supplied audio, fluency claim, completed CEFR level, degree or professional accreditation. Existing lessons, drafts, saved checks and XP are unchanged.
Keep work in your own notebook or files. This reader does not save drafts, run code or award completion.
Follow the unit order, or revisit a topic. Some editions deepen earlier topics; this list is not a claim that the whole subject is complete.
Authored lessons and practice
Topic lessons organised by stage, with worked examples, guided walkthroughs, exercises and solutions. Reading and open-book checks are separate from a reviewed project.
Loading lessons…
Course project and completion evidence
Course project and completion evidence
Expense tracker with validated amounts, category totals and tests for empty and invalid inputs.
0/0 current concept checks passed. Completion requires a different reviewer to assess functionality, tests, explanation and responsible handling of data. Scores of at least 3/4 in all four criteria are required; a quiz alone does not certify programming skill.
Loading your course files…
Explore engineering semester-project ideas
Loading your course files…
Original JavaScript workshops
Eight worked explanations and code tasks. A saved concept check is separate from completing a project.
Beginner
Accumulate without mutating the input
A running total starts at zero. Each loop iteration adds one amount. Keep the source array unchanged so another part of the application can reuse it. An empty array naturally returns zero.
function total(amounts) {
let sum = 0;
for (const amount of amounts) {
sum += amount;
}
return sum;
}
console.log(total([120, 80, 50]));
Exercise: Add a check that throws TypeError when any amount is not a finite number. Preserve the empty-array result.
Hint and debugging direction
Number.isFinite(amount) is false for NaN, Infinity and strings. Validate before adding.
filter creates a new array containing matching records. Normalize both the query and the field before comparing. Decide what a blank query means: here it returns every record. Keeping filtering pure makes it easy to test.
A Map associates each category with its accumulated amount. For each row, read the existing total or zero, then add the row amount. Map keys are data: a category named __proto__ does not change an object prototype.
function categoryTotals(rows) {
const totals = new Map();
for (const row of rows) {
totals.set(row.category, row.amount);
}
return totals;
}
console.log([...categoryTotals([{category:"food",amount:40},{category:"food",amount:15}])]);
Exercise: Accumulate repeated categories. Keep distinct categories separate and handle an empty list.
Hint and debugging direction
Read totals.get(row.category) ?? 0 before setting the new sum.
Binary floating point cannot represent every decimal amount exactly. For bounded currency values, storing integer paise makes addition exact. Conversion must validate the format and bounds. This exercise accepts non-negative strings with at most two decimal places.
function toPaise(value) {
return Number(value) * 100;
}
console.log(toPaise("19.99"));
Exercise: Reject invalid formats, negatives and more than two decimal places. Return a safe integer for valid decimal strings, including "0" and "12.5".
Hint and debugging direction
Validate with /^\d+(\.\d{1,2})?$/. Split at the decimal point and pad the fractional part to two digits. Check Number.isSafeInteger on the result.
Pagination is part of your API contract. A page number is a positive integer, and a page size must be bounded. Slice uses a zero-based start and an exclusive end. Return a new array so consumers cannot change the original list structure.
An application status is a state machine. A transition is permitted only when the current state explicitly allows the requested next state. Do not infer authorization from the button a user clicked; enforce the same rule in the server that owns the data.
An idempotent operation has the same business effect when repeated. A Set can illustrate this in one process, but a real payment system needs a durable unique key and an atomic transaction. Never treat an in-memory check as protection across servers.
function uniqueEvents(events) {
const seen = new Set();
return events;
}
console.log(uniqueEvents([{id:"a",amount:20},{id:"a",amount:20}]));
Exercise: Return the first event for each ID in original order. Do not mutate events. Handle an empty list.
Hint and debugging direction
In a filter callback, return false for seen IDs; otherwise add the ID and return true.
Combine validation, grouping and reporting. Work in integer paise. Each record must have a non-empty category and a non-negative safe-integer amount. Return the grand total and category totals. A rejected record must not be silently omitted.
Exercise: Implement the complete summary. Reject malformed records and total overflow. Add your own tests for duplicates, large amounts and empty input, then explain the invariants in a README file.
Hint and debugging direction
Validate each record, add to a Map, and check the grand total after each addition. Do not use real financial records in this learning project.