Determining the background color of an element is quite simple—all it takes is a CSS property called background-color
assigned to a particular color value.
One of the ways background-color
can be set is through a color keyword such as red
.
Create a simple CSS class called bg-orange
and give it the required properties to turn an element's background orange.