
JavaScript, HTML, and CSS Quiz

Quiz
•
Other
•
University
•
Medium

vaibhavi patel
Used 1+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the alert() function do in JavaScript?
Takes user input
Displays a message box
Prints to the console
Reloads the page
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to take text input from the user?
alert()
confirm()
prompt()
log()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the return type of confirm() in JavaScript?
String
Number
Boolean
Object
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct example of an arrow function?
function() => {}
() => {}
function => () {}
=> function()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will typeof "5" return in JavaScript?
number
string
boolean
undefined
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to compare both value and type in JavaScript?
=
==
===
!=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of the Document Object Model (DOM)?
Styling HTML
Designing images
Representing and interacting with HTML elements
Downloading pages
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Модельдеу және логистика

Quiz
•
University
50 questions
ບົດເສັງຈົບພາກຮຽນວິຊາຖານຂໍ້ມູນBIT2/2

Quiz
•
University
45 questions
E1 LESSON 3 p1 | QUIZ 1

Quiz
•
University
50 questions
ETHICS EXAM

Quiz
•
University
45 questions
bai9

Quiz
•
University
50 questions
401-450

Quiz
•
University
45 questions
PAS ADMINISTRASI SISTEM JARINGAN KELAS 11 SMSTR GENAP

Quiz
•
11th Grade - University
54 questions
Laravel va PHP Savollari

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University