Lessons

Each unit explains one idea with short examples, shows the mistakes people usually make, and has a few questions to try. Start at Unit 1 and go in order.

2 courses · 10 units · HTML and CSS is being written

JavaScript

  1. Unit 1

    Values and variables

    let, const, numbers, strings, printing things out · 4 min

  2. Unit 2

    Making decisions

    if, else, comparing values, true and false · 4 min

  3. Unit 3

    Loops

    for, while, counting up and down · 4 min

  4. Unit 4

    Functions

    parameters, return values, calling a function twice · 4 min

  5. Unit 5

    Arrays and objects

    lists of things, looking things up by name · 4 min

Python

  1. Unit 1

    Values and variables

    numbers, strings, print, naming things · 4 min

  2. Unit 2

    Making decisions

    if, elif, else, and indentation · 4 min

  3. Unit 3

    Loops

    for, range, while · 4 min

  4. Unit 4

    Functions

    def, arguments, return · 4 min

  5. Unit 5

    Lists and dictionaries

    storing groups of values, keys and values · 4 min

Stuck on a word? The glossary explains the terms used in the lessons.