Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Treehouse Club: HTML Publish a Story HTML Structure

Challenge 3 of 4 is giving me problems showing that <head> </head> needs to be before <body> </body> and i already did i

It is telling me bummer the head needs to before the body.

When I submitted it it showed a miss communication

<!DOCTYPE html>
<title>Page Title</title>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>


3 Answers

Adam Beer
Adam Beer
11,314 Points

Hi Hiza! You put one thing in extra. Please delete it and your code is working. Hope this help.

Challenge Task 3 of 4

Write the opening and closing head and body elements between your <html> tags.

Max Senden
Max Senden
23,177 Points

Hi Hiza,

Your code is correct, but I think the error might be caused by having elements in there that the challenge did not ask for (e.g. you are using a title element, h1 and p). Remove those and your task should pass just fine.

Hope it helps, Max

thank you

The current code I written above went through