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.
What the quiz covers
- JavaScript and the web (5 questions)
- Values, variables and types (5 questions)
- Decisions: if, else and switch (4 questions)
- Loops (4 questions)
- Working with text and numbers (4 questions)
- Functions and the call stack (4 questions)
- Arrays (4 questions)
- Objects (4 questions)
- Array methods: forEach, map, filter and reduce (4 questions)
- Destructuring, spread and safe access (4 questions)
- Maps and Sets (4 questions)
- Scope and closures (4 questions)
- Classes and prototypes (4 questions)
- Errors: throw, try and catch (4 questions)
- Asynchronous JavaScript: event loop, promises, async/await (4 questions)
- Modules: splitting a program into files (4 questions)
- HTML and CSS (4 questions)
- The DOM: changing the page with JavaScript (4 questions)
- Events and forms (4 questions)
- Fetching data and saving it (4 questions)