Rock Your Selectors Help Please


#1


Can anyone please help me figure out what I'm missing on this one.


This is the error message I'm getting.
Oops, try again. Did you remember to add a border of color #3A5FCD around every element?


So here is my code.
/*Add your CSS below!*/
* {
    border: solid 3px; color: #3A5FCD;
}
p {
    color: #00E5EE;
}
div p {
    color: #CC0000;
}


#2

When you're putting a border around an element using CSS, the syntax is:

border: 3px solid #3a5fcd;

The way you have written it will change the text color of the element, and your border won't work.


#3

Oh my gosh! Thanks, I seriously could not figure it out and I was getting upset with myself because I knew it would be simple. I truly appreciate you getting back to me and helping me realize my mistake.


#4

No problem! Glad I could help :slight_smile:


#5

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