Review


#1



/*Add your CSS below!*/
.div{
border-width: 1px;
border-color: black;
border-style: solid;
background-color: #CC0000;
margin: 10px 5px 5px 50px;
padding: 0px 30px 0 10px;
}
.div {
border: 1px solid black;
background-color: #CC0000;
}


It says that I haven't entered a 1px wide border.


Replace this line with your code.


#2

if your css selector starts with a ., it target a element with class div, you should just do div as css selector to target the div html element


#3

I don't understand!!


#4

currently, use .div as css selector, which will target any element with a class div:

<p class="div">i am targeted</p>

if you want to target the div element:

<div></div>

your css selector should just be div without leading dot


#5

take the . off the div