JavaScript Events and Event Listeners
There are many events that we can use to mutate the DOM based on the event. Some examples are:
Mouse:
click
double click
Keyboard
keypress
keydown
keyup
For a full list, look at https://developer.mozilla.org/en-US/docs/Web/API/Element
...
romilse.hashnode.dev2 min read