Fundamentals
JavaScript for beginners
Add interactivity with variables, loops, and functions.
Hello, JavaScript!
8 minMeet JavaScript and print your first message to the screen.
Start lesson →
Variables — Storing Information
10 minUse let and const to save text and numbers in named boxes.
Start lesson →
Making Decisions with if
12 minRun different code depending on conditions — yes or no, true or false.
Start lesson →
Loops — Repeat Yourself
12 minUse for loops to repeat actions without copying the same code.
Start lesson →
Functions — Reusable Recipes
14 minBundle steps into a function you can call whenever you need it.
Start lesson →
Arrays — Lists of Things
14 minStore multiple values in one list and loop through them.
Start lesson →
Ready to build full projects? Jump into the learning game quests.
Open learning game →