Question · JavaScript and TypeScript course · Module 8: Events and the DOM
Quiz: The Event Object
Which property of the event object contains the element that triggered the event?
Answer options
- event.source
- event.target
- event.origin
- event.element
You can check the correct answer by solving this task in the CodeWorlds game.