Core: learn it Step 7 of 16 on the Frontend Developer roadmap

Handling events

addEventListener runs your function whenever an event fires. Learn the event object, preventDefault() for forms, and event delegation for lists that change.

Learn it on JeliScript

Resources

More in The DOM and events

See it on the Frontend Developer roadmap