5. Use classes to add class


https://www.codecademy.com/courses/web-beginner-en-jNuXw/0/5?curriculum_id=50579fb998b470000202dc8b`indent preformatted text by 4 spaces`

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

div {
	display: inline-block;
	margin-left: 5px;
	height: 100px;
	width: 100px;
	border-radius: 100%;
	border: 2px solid black;
  	border: 2px dashed #008000;
    border: 2px dashed #0000FF;
    border: 2px dashed #FF0000;


Your code passes when I try it. Try to click the reset button and then try again.


Try what @nicoekkart said, if you still get an error paste in your HTML code


Didn't work.

HTML Code:

<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>My Social Network</title>
		<!--Add your HTML below!-->
        <div class="friend"></div>
		<div class="family"></div>
		<div class="enemy"></div>


Your code is correct. Try refresh your page or switch browsers


Thanks. Switching to explorer worked. The refresh didn't help for some reason.


Hi, can you please tell me what browser and OS you where using before and if possible deliver a screenshot?


Hi Nico,

I'm using Google Chrome and Windows 8.1. It's happening again today.



If you look in the url bar, you can see that your zoom is not at 100%, reset that by clicking the magnifying glass, or find the keybind for it. (can't remember it sorry)

Thats what probably stopping you as its making the line larger than 1px because of the zoom.

EDIT: command is crtl 0 for windows cmd 0 for mac to reset browser zoom to default.