An activity demonstrating how to change the DOM using JavaScript.
-
In your terminal, navigate to the project directory.
-
Open the activity.
-
In the terminal from the project directory, run the following command:
$ open index.html
This will open the activity in your default web browser.
-
Or from VS Code, install the Live Server extension and open the site by clicking the Go Live button in the status bar. This will open the activity in your default web browser.
Following the Learn reading, observe the behavior of this site, making any indicated changes, and observing the results. Be sure to refresh the site in the browser after saving changes to the code.