7/8 "remember to give archnemesis a border of color"


#1

Hi there,

Can't seem to figure out what's wrong with my CSS file. Message: "Oops, try again. Did you remember to give your #archnemesis a border of color #CC0000?" Can somebody help?

div {

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

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

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

.enemy {
border: 2px dashed #FF0000;
}

best_friend {

border: 4px solid;
border-color: #00C957;

}

archenemesis {

border: 4px solid;
border-color: #CC0000;

}

Thanks for looking at it!


#2

Hello there!

Here is my correct code:
#archnemesis {
border: 4px solid #cc0000;
}

I think the problem you had was that you didn't put the colour and border style on one line, but that's usually not a problem in the real world but oh well! Hope that helps!


#3

I tried it in two lines after it didn't work putting it in one, but I copied your code and it works. Thanks a lot for the quick response!


#4

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

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

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

.enemy {
border: 2px dashed #FF0000;
}

here is my code what is wrong with it?
best_friend {
border: 4px solid;
border-color: #00C957;
}

archnemesis {

border: 4px solid #cc0000;
}


#5

its needs a . before best_friend