# Responding to Events

Two ways to tell the browser what to run when something happens.

![Cheat sheet: Responding to Events](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/5cb2cac009e74379ae28b27668fc9fb2.webp)

- Category: JavaScript
- Level: Apprentice
- Tags: Declarative Programming, Event (javascript), Event Listener, Imperative Programming, JavaScript
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/responding-to-events-an-overview-cheat-sheet
