"Tell us about yourself" not completing


#1


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


I'm using the below code in HTML Build your own webpage exercise #4 "Tell us about yourself". I'm having issues with it not completing due to the error message "Oops, try again. Make sure your /head> tag comes before your body> tag!"

I'm not sure what the problem is, as my code looks correct to me and the error message appears to be general advice and not an actual indicator of the problem. Am I simply making a silly mistake here?


<!DOCTYPE html>
<html>
    <head>
        <title>
            Web Page
        </title>
        <body>
            <h1>
            Web Page
            </h1>
            <p>Paragraph 1</p>
            <p>Paragraph 2</p>
            <p>Paragraph 3</p>
        </body>
    </head>
</html>


#2

I found my silly mistake... My code had the body tag inside the head tag when they should be on the same level. The odd thing is that code worked for the previous lesson.


#3

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