.friend class border

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Oops, try again.
Did you remember to give your .friend class a border of 2px dashed #008000?
I’m getting this error constantly. My code is believed to be perfect but I can’t advance. Please help.

```

/Add your CSS below!/

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;
}

<do not remove the three backticks above>
1 Like

Please paste in your HTML

and make sure your browsers zoom is set to 100%

!DOCTYPE html>
html>
head>
link type=“text/css” rel=“stylesheet” href=“stylesheet.css”/>
title>My Social Network
/head>
body>
div class=“friend”>
div class=“family”>
div class=“enemy”>

/body>

/html>

Everything has a < but wouldn’t show if it was there.
And browser has been 100% the whole time. I zoomed and rezoomed to try and fix, nothing. I tried different browser and nothing.

The div’s do have closing tags, forgot to remove their < so they dont show

Please read the below instructions on how to format your code then you don’t need to remove anything

https://discuss.codecademy.com/t/how-do-i-format-code-in-my-posts/51139

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