Loading

from first concept to confident practice

JavaScript

Make programs respond, one clear step at a time.

Start learning 16 lessons · first lesson about 10 min · free · no account needed
About this track

JavaScript is the language that makes web pages respond and also powers servers and tools. Start from values, types and debugging; practice decisions, loops, functions and collections; then bring HTML and CSS to life with the DOM, events and forms. Follow asynchronous requests from a browser to a Node.js server. Predict outcomes, play visual labs, and solve coding exercises in an isolated browser runner. Node-only examples include local steps because the browser runner cannot access your files or start a server.

Before you start
  • No programming experience needed - start from zero.
  • A modern web browser.
  • Curiosity about how interactive websites work.
  1. Unit 1 · 0/4 lessons

    Getting started

    Run code, name values, understand types, and debug text programs. Badge: First script

    1. 0x001Your first JavaScript programUse console.log to make a program say something. 10 min 0/1 exercises solved 10 min 0/1 exercises solved
    2. 0x102Values and variablesName data with const and let, and work with JavaScript’s basic value types. 12 min 0/1 exercises solved 12 min 0/1 exercises solved
    3. 0x203Types, operators and tricky conversionsPredict what an expression produces before using it in a real program. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
    4. 0x304Strings, errors and debuggingTransform text and use the console to find a wrong assumption. 17 min 0/1 exercises solved 17 min 0/1 exercises solved
  2. Unit 2 · 0/2 lessons

    Decisions and repetition

    Choose a path and repeat work with loops. Badge: Flow control

    1. 0x405Make decisions with conditionsUse comparisons and if/else to choose what your program does. 12 min 0/1 exercises solved 12 min 0/1 exercises solved
    2. 0x506Repeat work with loopsUse for and while loops to repeat instructions without copying code. 12 min 0/1 exercises solved 12 min 0/1 exercises solved
  3. Unit 3 · 0/3 lessons

    Functions and data

    Build reusable behavior, organize values and transform lists. Badge: Data wrangler

    1. 0x607Write reusable functionsBundle instructions into named functions that accept inputs and return results. 12 min 0/1 exercises solved 12 min 0/1 exercises solved
    2. 0x708Group data with arrays and objectsStore ordered lists in arrays and describe things with object properties. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
    3. 0x809Turn lists into useful resultsUse map, filter and find for catalogues, dashboards and search results. 19 min 0/1 exercises solved 19 min 0/1 exercises solved
  4. Unit 4 · 0/3 lessons

    JavaScript in the browser

    Connect HTML, CSS and JavaScript; handle events and build helpful forms. Badge: Page builder

    1. 0x9010How HTML, CSS and JavaScript work togetherBuild one small page from structure, style and behavior. 20 min 0/1 exercises solved 20 min 0/1 exercises solved
    2. 0xA011Find elements and respond to eventsUse DOM methods to update a page when someone acts. 21 min 0/1 exercises solved 21 min 0/1 exercises solved
    3. 0xB012Forms that help people succeedRead form input, validate it and report errors accessibly. 19 min 0/1 exercises solved 19 min 0/1 exercises solved
  5. Unit 5 · 0/3 lessons

    From browser to server

    Fetch data asynchronously, meet Node.js and build an HTTP route. Badge: Full-stack explorer

    1. 0xC013Waiting for data: promises and fetchHandle delayed results and distinguish a network failure from an HTTP error. 21 min 0/1 exercises solved 21 min 0/1 exercises solved
    2. 0xD014JavaScript outside the browser: Node.jsUnderstand what a server runtime does and which APIs belong to it. 20 min 0/1 exercises solved 20 min 0/1 exercises solved
    3. 0xE015A first HTTP server with Node.jsTrace a request from a page to a Node server and back. 24 min 0/1 exercises solved 24 min 0/1 exercises solved
  6. Unit 6 · 0/1 lessons

    Build a useful page

    Bring HTML, CSS, browser JavaScript and an API result together. Badge: Event board builder

    1. 0xF016Capstone: an event availability boardConnect data, an async request, DOM updates and accessible feedback. 27 min 0/1 exercises solved 27 min 0/1 exercises solved