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

HTML 5 course question task #4

When I try and complete the last problem on the HTML 5 question it says I'm doing it wrong when I am clearly doing it correctly. It says i have to put the <head> tag before the <body> tag and when I do that it says I'm wrong, any ideas on how to fix it?

a url to the challenge, or your code would help.

https://teamtreehouse.com/library/html-structure-2 Here is the link.

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

2 Answers

Did you also put in a <html> tag Can you post all your code & a link to the challenge?

should be:

<!DOCTYPE html>
<html>
  <head></head>
  <body>
    <p>My first paragraph!</p>

  </body>
</html>