It all comes together when we use JavaScript to listen for user actions in the browser and respond by running functions that manipulate the DOM. In this lesson, you’ll learn how to attach event listeners to DOM elements. This will allow your webpages to respond to user input — such as clicks, form submissions, and other interactions — making your pages dynamic and interactive.