CSS Selectors - Lesson 4. Need help


#1

My coding doesn't seem to be working and I am not too sure what the correct coding is.

Does anyone know what I have done wrong?

/*Add your CSS below!*/
p {
color: #00e5ee;
}
div p {
color:#cc0000;
}
* {
border-style: dashed;
border-width: 2px;
color:#3a5fcd;
}


#2

The CSS use of color refers to text elements, not borders. You can use either of the following, but you must make sure you tell it to specifically colour the borders.

 * {
border: 2px dashed #3a5fcd;
}

or

* {
border-style: dashed;
border-width: 2px;
border-color:#3a5fcd;
}

#3

This is correct, in CSS, color means the color of text in something, border-color , on the other hand, is specific to colouring the border.