Use classes to add class

Oops, try again. Did you remember to give your .friend class a border of 2px dashed #008000?

Is their something wrong with my code that I am missing? I am using Chrome as my browser and have tried Explorer too, same message ever time. I reset the zoom and refreshed the page with F5.

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

you have a colon after each of your class names which is breaking your style sheet before applying friend style

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