CSS3
Exercise 5 / 15
Colors and Backgrounds
Easy
10 points
Change the div background color to blue and the text color to white.
The background-color and color properties control the background and text colors respectively. Values can be names (blue, white), hex codes (#0000FF, #FFFFFF), or RGB/rgba values. This is the basis of CSS styling.
Well done! 🎉
Your answer is correct! You earned 10 points.
Not quite...
Try again! You can do it.
Your code
CSS3
Result