Make sure your </head> tag comes before your <body> tag!


#1

I dont see a problem here.. Plz help


#2

<body> should be al lowercase, it causes the error


#3

I'm not sure that I understand what you mean?


#4

literally what i am saying, your body opening tag (<body>) should be all lowercase, your body opening tag has a capitalized b, this should be lowercase


#5

Oh great, thank you!


#6

tell me what is wrong I DONT GET IT HEAD BEFORE BODY!!!!!!


#7

right, your html document is divided in two sections: head and body.If you don't recall, go back to html basic track. Here is how it looks:

<!DOCTYPE html>
<html>
<head></head>
<body></body>
</html>

the head section is for you, it contains everything which shouldn't be at the page (links to stylesheet/javascript, title. meta-data) and body is for what the user should see on the page

You nested it wrong (you nested body inside head, rather then below head), try again. make sure you nest the title in the head section


#8

To expand on what @stetim94 explained, it's also best if you indent your code so that it can be clearly read back by yourself or other users if posting on here. I know codecademy is just little tasks but it becomes good practice if you are using correct syntax and indentation to create websites.
Good practice:-

<div class="container">
    <div class="thumbnail">
        <img src="myImage.jpg">
    </div>
</div>

Bad Practice:-

<div class="container">
<div class="thumbnail">
<img src="myImage.jpg">
</div>
</div>

This makes the code harder to follow and understand in the future.

Hope I explained this well!