Fundamentals · Free forever
Learn JavaScript from zero by writing small programs for an independent cinema. Each lesson teaches one idea, then you try it in the editor and check your answer instantly.
You've just joined Moonbeam Cinema, a small independent cinema in Ghent with two screens and a lot of loyal regulars. Ines, the manager, wants the box office to stop running on sticky notes.
Printing, comments and errors, let and const, numbers, template literals, input.
if, else if and else, === and logical operators, and working with text.
Repeating work with while and for, and controlling loops with break and continue.
Arrays, objects, looping over both, and data made of both.
Functions, default values, arrow functions, errors and built-ins, then the capstone.
Pass every lesson and the capstone, then the 15-question final quiz, to earn your JavaScript Fundamentals certificate with a link anyone can verify.
JavaScript equality and type coercion: == vs ===, truthy and falsy
Why 0 == '' is true, which values are falsy, how + turns numbers into strings, and the handful of rules that make JavaScript comparisons predictable.
JavaScript arrays: map, filter, reduce, find and sort without surprises
The array methods you use every day, which ones change the array and which return a new one, and the sort() bug that bites everyone who sorts numbers.