JavaScript roadmap

Write clear JavaScript, transform collections, and understand the order of asynchronous work.

Learning path

Follow the stages in order. Expand a stage for its goal and checkpoint, or choose a topic to open its lesson.

Start
  1. 1Get comfortable with the basics

    Choose let or const, trace reassignment, and write strict comparisons and loops.

    Checkpoint

    Build a small points calculator and predict every line of its output.

  2. 2Organize data and behavior

    Write functions with return values and represent related fields in arrays of objects.

    Checkpoint

    Transform an array of book records into an ordered list of unread titles.

  3. 3Handle delayed work

    Read promises, use async and await, and decide how to show pending, success, empty and error states.

    Checkpoint

    Build a small view that loads a public data set and reports success or failure clearly.

  4. 4Build reusable browser behavior

    Separate logic into modules, connect page controls to events, and handle request failures explicitly.

    Checkpoint

    Build a search result view that handles an unsuccessful response and cancels an older search when a new one starts.

  5. 5Keep a program responsive

    Trace asynchronous work and keep independent state in closures. Move expensive calculations off the main page when appropriate.

    Checkpoint

    Predict a script’s output order and explain how to keep its interface responsive during a long calculation.

Finish