event.target methods code example
Example 1: JAVASCRIPT EVENT.TARGET
event.target returns the node that was targeted by the function.
This means you can do anything you would do with any other node like one
you'd get from document.getElementById
Example 2: event.target javascript
const theTarget = someEvent.target;