Targeting HTML Elements in CSS
Hit the Target!
Follow the instructions below to add styles to targeted HTML elements.
Open the project file. You should see three large boxes that each contain three smaller boxes.
Save the html file to your computer and open it in the HTML editor of your choice.
Review the HTML and CSS code to understand how the page was constructed.
Without changing any of the HTML code, add additional CSS to:
- Change the background color of the boxes inside the first large div to red.
- Change the background color of the boxes inside the second large div to green.
- Change the background color of the boxes inside the third large div to blue.