JavaScript: from first line to expert
The language of the web. Start with printing a message and work up to closures, classes, async code and real algorithms.
Start the track- Your first program BeginnerMake the computer print a message, and meet the console.5 min
- Variables BeginnerGive names to values with let and const, so your program can remember things.6 min
- Numbers and text BeginnerDo arithmetic, and build sentences neatly with template literals.7 min
- Making decisions BeginnerUse if and else so your program reacts to its input.8 min
- Loops BeginnerRepeat work with for and while instead of copying lines.8 min
- Functions BeginnerPackage a piece of work under a name, give it inputs, and get a result back.8 min
- Arrays IntermediateKeep many values in one list, and transform them with map, filter and reduce.10 min
- Objects IntermediateGroup related values under names, and give objects their own methods.10 min
- Working with text IntermediateSlice, search, split and join strings with JavaScript's built-in methods.9 min
- Handling errors IntermediateThrow errors when something is wrong, and catch them so your program can recover.9 min
- Classes IntermediateDescribe a kind of object once with a class, then make as many as you need.10 min
- Closures and functions as values AdvancedPass functions around, return them from other functions, and let them remember.12 min
- Promises and async/await AdvancedWork with things that take time, like network requests, without freezing your program.12 min
- Recursion, memoization and searching ExpertSolve problems that call themselves, make slow code fast, and search sorted data in a few steps.15 min