TIL – addEventListener accepts functions and (!) objects
To build interactive web interfaces, you have to use DOM (Document Object Model) events. How does that usually work?
You define the event type you're interested in, pair it with a callback function and you are ready to react to clicks, keypresses, s...
stefanjudis.hashnode.dev3 min read