HTML5 JS Event Listeners Q7

HTML5 JS Event Listeners Q7

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

4 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which is the correct syntax for adding an event listener? Options: document.addEventListener(event, function, Capture), addEventListener(event, function, Capture), document.addEventListener( function, Capture), document.EventListener(event, function, Capture)

Back

document.addEventListener(event, function, Capture)

2.

FLASHCARD QUESTION

Front

By default do events bubble or cascade?

Back

bubble

3.

FLASHCARD QUESTION

Front

What does a false value in the eventListener do?

Back

allows events to bubble up

4.

FLASHCARD QUESTION

Front

What does a true value in the eventListener do?

Back

events will cascade down