Javascript Dom Events Flashcards

1
Q

What arguments does the addEventListener method take?

A

The event and a function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give five examples of JavaScript events that can be listened for.

A

Animation, clipboard, database, fullscreen, and gamepad.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly