6: No ID, no entry


#1

What is wrong here? It says i should add the ID as best_friend. Then i click next, and it says its wrong. What is wrong?


#2

Well, the only way we can help you is if you provide us with your code


#3

<!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="family">
	</div>
		<div class="friend; id="best_friend>
		</div>
		<div class="enemy">
		</div>
		</body>
</html>

There ya go! :slightly_smiling:


#4

attributes (id, class, src, alt) are separated by spaces, take a look at this:

<img src="image_url" alt="my image">

see how i have two attributes? The value runs from the first till second quotation mark (") and separated by a space, the separation by semi-colon is when you use the style attribute which can have multiply values:

<p style="color: red; font-size: 16px">

Please read this post about markdown so your code/indent will show.


#5

in the hint, it is highlighted red.
heres the hint...


#6

You got it? You really need to start using markdown:
Please read this post about markdown so your code/indent will show.

So your code will show


#7

Okay. It turns out i did it! thanks again! :yum: