No ID, no entry..... needs help identifying the entry/problem


Can somebody please help? I keep getting the error message:
Did you assign one of your 'friend'

s the id 'best_friend'?
I thought I got it right. Am I missing something in css?
Here is my current code beneath the link.


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

/*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;


Hi @nwilli11,

When I copy/paste your code into the exercise that you've provided a link to, the error message that I get is:

Did you assign one of your 'enemy's the id 'archnemesis'?

It looks like you have made a typing mistake with the word archnemesis.

I couldn't reproduce the error message that you have reported.

Give it another try and let me know how it goes.


Hello AR,
Thanks for replying.
I copy and pasted the error message below that I get below.

Oops, try again. Did you assign one of your 'friend'

s the id 'best_friend'?

Excuse the typo. I did change it.
Any chance you can show me the working code (index.html and stylesheet.css) that you use for this exercise? I really appreciate your response.


Your exact code, except with archnemesis spelled correctly, passes the exercise for me.


Okay It worked in a different browser. I was using Firefox. All codes have worked in Firefox up to know, but not that one. Thank you very much for your help. much appreciated!


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