--- title: --- Just as you can add event listeners to any DOM element, you can add event listeners to the `window` object with ``. On line 11, add the `keydown` listener: ```html ``` > As with DOM elements, you can add [event modifiers](tutorial/event-modifiers) like `preventDefault`.