EXERCISE: Changing colours of elements using different selectors
In this exercise, we will be using different types of selectors to create a multi-coloured web page for an article that will be published on the internet regarding a tragic event.
Instructions:
Style each part of the article according to the instructions given.
Use inline styling to change the background colour of h1 to yellow.
Change the colour of the id named “names” to blue.
Use an element selector to change the colour of all the paragraphs to white.
Use a universal selector to change the background colour to black.