Oops, try again. Did you remember to give your #best_friend a border of color #00C957?


#1

I've tried two different browsers but keep getting the same error"

Oops, try again. Did you remember to give your #best_friend a border of color #00C957?

div {
display: inline-block;
margin-left: 5px;
height: 100px;
width: 100px;
border-radius: 100%;
border: 2px solid black;
}
.friend {
border:2px dashed #008000;
}
.family {
border: dashed #0000FF;
}
.enemy {
border: 2px dashed #FF0000;
}
.best_friend {
border: 4px solid #00C957;
}
.archnemesis {
border: 4px solid #cc0000;
}


#2

Best_friend is an id and not a class. Hence the CSS selector should start with a hashtag(#) instead of a period(.) as the error suggest

...your #best_friend...

Same goes for archnemesis, I believe.


#3

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