JavaScript quiz: 82 questions

82 questions from the 20 lessons of JavaScript: Programming for the Web. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.

Test yourself

82 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.

How many questions?

What the quiz covers

  1. JavaScript and the web (5 questions)
  2. Values, variables and types (5 questions)
  3. Decisions: if, else and switch (4 questions)
  4. Loops (4 questions)
  5. Working with text and numbers (4 questions)
  6. Functions and the call stack (4 questions)
  7. Arrays (4 questions)
  8. Objects (4 questions)
  9. Array methods: forEach, map, filter and reduce (4 questions)
  10. Destructuring, spread and safe access (4 questions)
  11. Maps and Sets (4 questions)
  12. Scope and closures (4 questions)
  13. Classes and prototypes (4 questions)
  14. Errors: throw, try and catch (4 questions)
  15. Asynchronous JavaScript: event loop, promises, async/await (4 questions)
  16. Modules: splitting a program into files (4 questions)
  17. HTML and CSS (4 questions)
  18. The DOM: changing the page with JavaScript (4 questions)
  19. Events and forms (4 questions)
  20. Fetching data and saving it (4 questions)