# Lesson 5: Selecting and changing elements Selecting and changing elements comes up in almost every real JavaScript project. We start with the why, then write code together. Read the full lesson: [https://glibcode.net/courses/javascript-web/lessons/5](https://glibcode.net/courses/javascript-web/lessons/5) ## Files - `dom.html`: selecting elements and changing their text and classes ## Run it ```sh open dom.html # or double-click it ``` ## Exercises See [exercises.md](exercises.md). Ask in the forum once you've tried.