Skip to main content
← All courses
🟨

JavaScript Foundations

JavaScript

The language that runs everywhere. Start from zero and write real, tested code in your browser.

Your progress

0/17 complete

Start β†’ Read the Code πŸ‘€
  1. 1

    Read the Code πŸ‘€ Quiz

    Before you write JavaScript, learn to read it.

    ⚑ 10
  2. 2

    Variables & Values

    Store data in named boxes.

    ⚑ 20
  3. 3

    Numbers & Math

    Add, clamp, round, and the Math object.

    ⚑ 25
  4. 4

    Conditionals

    Make your code choose a path.

    ⚑ 25
  5. 5

    Boolean Logic

    Combine conditions with && and ||.

    ⚑ 25
  6. 6

    What's a Function? πŸ› οΈ Quiz

    Read a function and predict what it hands back.

    ⚑ 10
  7. 7

    Functions

    Reusable machines that take input and return output.

    ⚑ 25
  8. 8

    Arrays & Loops

    Work with lists of things.

    ⚑ 30
  9. 9

    Objects

    Bundle related data together.

    ⚑ 30
  10. 10

    Strings

    Text is data you can transform.

    ⚑ 25
  11. 11

    Template Literals

    Build strings with embedded values.

    ⚑ 25
  12. 12

    Reading map() πŸ—ΊοΈ Quiz

    Predict what map() builds before you write it.

    ⚑ 10
  13. 13

    Transform with map()

    Make a new array from an old one.

    ⚑ 30
  14. 14

    Select with filter()

    Keep only the items you want.

    ⚑ 30
  15. 15

    Boil it down with reduce()

    Collapse a list into a single value.

    ⚑ 35
  16. 16

    While Loops

    Repeat until a condition fails.

    ⚑ 30
  17. 17

    Capstone: FizzBuzz

    The classic interview warm-up.

    ⚑ 40