All courses

Course

Learn JavaScript

The language of the web. 10 units that take you from your first program to the language's advanced features.

Units
10
Topics
52
Questions
265
Challenges
25
1

Unit 1

Getting started

Output, variables and numbers

  1. Hello, JavaScript
  2. let and const
  3. Arithmetic
  4. Special number values
  5. Unit quiz and coding challenge
2

Unit 2

Strings and types

Text, type coercion and missing values

  1. Template literals
  2. String methods
  3. Primitive types
  4. Type conversion
  5. Truthiness
  6. Missing values
  7. Optional chaining
  8. Nullish coalescing
  9. Unit quiz and coding challenge
3

Unit 3

Control flow

if, switch and loops

  1. Conditions with if
  2. The conditional operator
  3. switch
  4. Loops
  5. Looping over collections
  6. Unit quiz and coding challenge
4

Unit 4

Functions

Declarations, arrows, parameters and closures

  1. Function declarations
  2. Arrow functions
  3. Functions as values
  4. Default parameters
  5. Any number of arguments
  6. Block scope
  7. Closures
  8. Unit quiz and coding challenge
5

Unit 5

Arrays

Lists, array methods and destructuring

  1. Array basics
  2. Transforming arrays
  3. Sorting arrays
  4. Array destructuring
  5. Spreading arrays
  6. Unit quiz and coding challenge
6

Unit 6

Objects

Object literals, JSON and this

  1. Objects
  2. Object helpers
  3. Object destructuring
  4. JSON
  5. this
  6. Unit quiz and coding challenge
7

Unit 7

Classes and prototypes

Classes, inheritance and the prototype chain

  1. Classes
  2. Inheritance
  3. Prototypes
  4. Unit quiz and coding challenge
8

Unit 8

Errors, modules and iteration

Exceptions, import/export, iterators and generators

  1. Handling errors
  2. Custom errors
  3. Modules
  4. Iterators
  5. Generators
  6. Unit quiz and coding challenge
9

Unit 9

Asynchronous JavaScript

The event loop, promises and async/await

  1. The event loop
  2. Promises
  3. Combining promises
  4. async and await
  5. Unit quiz and coding challenge
10

Unit 10

Built-ins and the browser

Map, Set, regex, dates and the DOM

  1. Map
  2. Set
  3. Regular expressions
  4. Dates
  5. The DOM
  6. fetch
  7. Unit quiz and coding challenge

Finale

Course exam

100 items from the whole course: 50 questions with choices, 35 typed answers and 15 coding challenges that mix topics.