Event Listeners

target.addEventListener( type, listener );

event types

the Listener is what receives notification. I.E. trigger the event type, then activate the listener code. So if the listener is an JavaScript Arrow Functions (Private) then you can run an entire anonymous function.

Click event

https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event