Skip to content
← Back to Community
how to change the background colour
Profile icon
Maggybarbie1995

i have made sure the colors are different but when i run it tells me i have failed the test,what may be the problem?

Voters
Profile icon
Nathanck4
Profile icon
Maggybarbie1995
Comments
hotnewtop
Profile icon
ash15khng

To define background colour in CSS:

div { background-color: red; /* note there is a dash between background and color */ }