7. identifying your IDs


#1

div {
display: inline-block;
margin-left: 5px;
width: 100px;
height: 100px;
border-radius: 100%;
border: 2px solid black;
}

.friend {
border: 2px dashed #008000;
}

.family {
border: 2px dashed #0000ff;
}

.enemy {
border: 2px dashed #ff0000;

best_friend {

border: 4px solid #00C957;

}

archnemesis {

border: 4px solid #CC0000;

}

why is this asking me "Did you remember to give your #best_friend a border of color #00C957"?
thanks.


#2

your .enemy is missing a closing curly bracket (})


#3

Hey stetim94
Can you see what I'm doing wrong? As the person above they're asking for the border color of best_friend.

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: 2px dashed #0000ff}
.enemy {border: 2px dashed #ff0000}

best_friend: {border: 4px solid #00C957}

archnemesis: {border: 4px solid #cc0000}

Thanks!


#4

there shouldn't be a colon at the end of your css selector


#5

Oh, ofc!
Silly me. Thank you so much!


#6

best_friend {

            border: 4px solid #00C957;

}
Whats wrong with this one?.


#8

please create a new topic with full html and css code + question + error message so someone can help you