Core: learn it Step 7 of 16 on the Frontend Developer roadmap
The DOM and events
The DOM is the browser's live model of your page, which JavaScript can read and change. Events tell your code when something happens, such as a click, a key press or a form being submitted. Together they are how you bring a static page to life.