Glossary coding Term Page
addEventListener
the method that registers the function to run when clicks
Core Idea
addEventListener is the method that registers the function to run when clicks, inputs, and other events occur. It usually makes the most sense alongside Event delegation, IntersectionObserver.
Why It Matters Here
Mathbong reuses this term across javascript posts as shared vocabulary.