Quiz: The Main Event

Test your knowledge of event-based programming in JavaScript.

1

How does an event listener affect the program’s execution while waiting for an event?

A)

It pauses the program’s execution completely.

B)

It continues to execute other tasks.

C)

It intermittently checks for the event.

D)

It slows down the program’s execution.

Question 1 of 60 attempted

Get hands-on with 1200+ tech skills courses.