Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JavaScript Basics: Zero to Hero - 100 Practice Questions
New

JavaScript Basics: Zero to Hero - 100 Practice Questions

Learn JavaScript from scratch with 100 beginner questions and hints: variables, functions, arrays, objects, DOM, async
Last updated 11/2026
English

What you'll learn

  • Understand JavaScript variables, data types, operators and strings
  • Control program flow with conditions, loops and functions
  • Work with arrays, objects and JSON
  • Learn DOM, events, promises, async/await and modern ES6+ syntax

Included in This Course

100 questions
  • JavaScript Basics, Variables & Data Types20 questions
  • Operators, Comparisons & Strings20 questions
  • Conditions, Loops & Functions20 questions
  • Arrays, Objects & JSON20 questions
  • DOM, Events, Async & Modern JS20 questions

Description

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.

Who this course is for:

  • Complete beginners and aspiring web developers who want to learn JavaScript from scratch