Oops, try again. Did you remember to give your #archnemesis a border of color #CC0000?


#1


https://www.codecademy.com/en/courses/web-beginner-en-jNuXw/0/7?curriculum_id=50579fb998b470000202dc8b


error message:
Oops, try again. Did you remember to give your #archnemesis a border of color #CC0000?

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

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

#best_friend {
    border:4px solid #00c957;
}

#archenemesis {
    border:4px solid 
    color:#CC0000;
}


#2

Just a typo in CSS code. It should be #archnemesis, not #archenemesis.


#3

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