One lesson
Extract Task Titles with JavaScript map()
Permanent access to this lesson and its included learning materials and quiz.
Under Construction
Programming languages · 30 lessons · up to 10 minutes each
Thirty authored lessons progress from values and functions through arrays, async work, browser APIs, tests, and performance.
One-time purchase · USD
Access is attached to your account after payment is verified. No subscription.
One lesson
Permanent access to this lesson and its included learning materials and quiz.
Full category
Permanent access to the lessons published in this track when purchased. Future lessons are not included. 30 of 30 lessons are published; 0 are in owner review and 0 are Coming Soon.
Lessons 1–10
Topic: Count Completed Tasks with JavaScript
Write a small function that counts completed tasks in an array of objects.
Topic: Extract Task Titles with JavaScript map()
Use Array.map() to turn each task object into a new array of titles.
Topic: Declare values with const and let
Choose const for stable bindings and let for bindings that need reassignment
Topic: Recognize primitive values
Distinguish string, number, boolean, null, undefined, bigint, and symbol values.
Topic: Use arithmetic and assignment
Calculate a numeric total and update a binding with a clear assignment operator.
Topic: Compare values strictly
Use strict equality and explain why implicit coercion can hide a mismatch.
Topic: Build strings with templates
Interpolate values into a template literal while keeping formatting readable.
Topic: Choose a conditional branch
Use if/else or a switch to handle known input cases explicitly.
Topic: Repeat with for and for...of
Choose an indexed loop or a value-oriented loop for an array.
Topic: Handle truthy and nullish values
Use Boolean conditions and nullish coalescing without treating zero as missing.
Lessons 11–20
Topic: Define reusable functions
Declare a function with parameters, a return value, and a narrow responsibility.
Topic: Use default and rest parameters
Provide a default argument and collect extra arguments with a rest parameter.
Topic: Understand scope and closures
Keep state private in a closure and predict which binding a function reads.
Topic: Transform arrays with map()
Return a new value per item and preserve the input array with map().
Topic: Select values with filter()
Keep only items that satisfy a predicate and handle an empty result.
Topic: Reduce a list to a summary
Use reduce with a clear initial value to calculate a total.
Topic: Group data with Map and Set
Use Map for keyed values and Set when uniqueness is the requirement.
Topic: Read object properties safely
Use property access, destructuring, and optional chaining for nested data.
Topic: Model behavior with classes
Create an instance with a constructor and keep instance methods focused.
Topic: Separate code with modules
Export a named function and import it from a module boundary.
Lessons 21–30
Topic: Handle promise results
Chain a promise result and handle rejection without losing the error.
Topic: Write async functions
Await asynchronous work inside an async function and return its value.
Topic: Recover from asynchronous errors
Use try/catch around an awaited operation and preserve useful failure context.
Topic: Iterate with generators
Use yield to expose one value at a time to a consumer.
Topic: Respond to a DOM event
Register a handler and read the event target without relying on global variables.
Topic: Validate and submit a form
Read FormData, validate required input, and prevent a bad submission.
Topic: Fetch JSON from an API
Check response.ok before parsing JSON and handle a network or HTTP failure.
Topic: Test behavior with assertions
Write a small assertion for normal, empty, and boundary inputs.
Topic: Debug without guessing
Use a breakpoint and inspect the call stack and value at the failing line.
Topic: Review runtime and performance
Choose a data structure and operation that fit the input size and usage pattern.
Each lesson cites official language documentation and includes a worked example, expected result, practice task, and mapped quiz.
All 30 lesson texts, quizzes, and editable exercises are authored. Isolated code execution still needs a provisioned runtime for this language; no output or score is invented.