What's Wrong?

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Background-color, height, width

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
It says my div doesn’t have the correct background color.

```

Replace this line with your code.
background-color= #cc0000;
height: 100px;
width: 100px;

<do not remove the three backticks above>

You used an equals sign instead of a colon :
Could I also see a screenshot of your css?

background-color: #cc0000;
height: 100px;
width: 100px;

This is it.

Alright it looks like you didn’t say that you were styling the div itself, meaning that you need to do this:

div { Then put all of your styling in here :) }

Oh, thanks. I’ll do that.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.