Can't move on from Rock Your Selectors


#1

I keep getting the following message when I try to move on from the Rock Your Selectors tutorial:
"Oops, try again. Did you remember to add a border of color #3A5FCD around every element?"

Am I missing something in my code?

p {
color: #00E5EE;
}

div p {
color: #CC0000;
}

  • {
    border-color: #3A5FCD;
    border: dotted;
    border-width: 2px;
    }

Thanks for your help!


#2

This is what I have and I got it right:

p {
color:#00e5ee;

}
div p{
color:#cc0000;
}
*{
border: #3a5fcd 3px dashed
}


#3

the problem is that the border property expect three values, you only provided one:

border: dotted;

so it has to come up with two default values, this default color will overwrite you border-color, i recommend to change border to border-style


#4

Thanks so much for you help!