event-interface notes
event object event target event listener
event.currentTarget
tells us on which element the event was attached or the element whose eventListener triggered the event.
event.target
tells where the event started.
event-interface notes
event object event target event listener
event.currentTarget
tells us on which element the event was attached or the element whose eventListener triggered the event.
event.target
tells where the event started.