.friend class border


#1


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


#2

Please paste in your HTML

and make sure your browsers zoom is set to 100%


#3

!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.


#4

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


#5

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


#6

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