20 questions · 20 minutes · JavaScript

JavaScript Basics: Very Simple Quiz practice quiz

20 very basic JavaScript questions for absolute beginners.

Before you start

Answer all 20 questions. Each question carries 1 mark. No negative marking. You have 20 minutes.

You can take this without an account and you will still get the full marked review. Only signed-in attempts are saved — sign in first if you want this one kept in your history.

Questions
20
Time
20 minutes
Marks
20
Subject
JavaScript
Marking
Server-side

What it asks

The first few questions

  1. What does JS stand for?
  2. Which symbol starts a single-line comment in JavaScript?
  3. Which function prints text to the browser console?
  4. Which of these is used to declare a variable (older syntax)?

16 more once you begin. Options are withheld until the attempt starts — the answer key never reaches the browser before you have been marked.