Here are a few practice exercises to interact with the DOM. Try and complete as much as you can without using the solutions, as we are practicing all the skills involved in web development! I would suggest only looking at the solutions after you have your own working example, or you have exhausted your google searches.
-
Clone this repository
-
Open
index.html
in your browser by usingopen index.html
in terminal -
Implement solutions in
index.js
for each of the exercises
HINT: Hints are available in the hints
directory and solutions in solutions
Try completing each exercise on your own, before checking the hints or solutions.