JavaScript Quiz

Example Image

1. What is a function?

A block of code designed to perform a specific task.
A function that asks the user to enter a input
A function that displays a popup message to the user.

2. What is a prompt?

A function that displays a popup message to the user.
A block of code designed to perform a specific task.
A function that asks the user to enter a input

3. What is a variable?

A block of code designed to perform a specific task.
A Container for storing data values
A function that displays a popup message to the user.

4. What is an alert()?

A function that displays a popup message to the user.
A Container for storing data values
A block of code designed to perform a specific task.