


JavaScript is the language of the web. It runs in every browser and, with Node.js, on servers too. This beginner-friendly practice course helps you learn and check JavaScript fundamentals through 100 simple multiple-choice questions. Every question includes a hint and a clear explanation, so you learn as you go, even if you're new to programming.
You will explore 10 topics, 10 questions each, organized into 5 practice tests of 20 questions:
Test 1 - JavaScript Basics, Variables & Data Types: JavaScript basics, console output and comments, then variables with let, const and var, and data types.
Test 2 - Operators, Comparisons & Strings: operators, comparisons and type coercion, then strings and template literals.
Test 3 - Conditions, Loops & Functions: conditions, switch and loops, then functions, arrow functions and scope.
Test 4 - Arrays, Objects & JSON: arrays and array methods, then objects, JSON and destructuring.
Test 5 - DOM, Events, Async & Modern JS: the DOM and events, then promises, async and await, fetch and modern ES6+ features.
How to use it: read each question, use the hint if you get stuck, then read the explanation. Try the snippets in your browser's developer console. Use Practice mode to learn and Exam mode to test yourself.
Great for complete beginners, students, aspiring web developers and anyone learning JavaScript for the first time.
Questions are based on modern JavaScript (ES6 and later).
Created by a Senior Salesforce and AI Architect, Salesforce trainer and Dreamforce speaker with 15+ years of enterprise cloud and data experience.