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 How to Make a Website HTML First Use HTML Elements

Still Lost on this challenge

Front-end Web Design --- challenge wants me to add a head and a body line(s). I can not figure out what is wrong !! Got some help earlier but I still can't figure what I am missing. Any help, most appreciated !!!

<!doctype html>

<html>

<head> </head>

<body> </body>

</html>

4 Answers

Stone Preston
Stone Preston
42,016 Points

make sure you add both opening and closing head and body tags and that you put them between the opening and closing html tags:

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

aaarrrggghhh !!! My input looks just like your example, but the challenge says I need a header tag. I don't understand what I have done wrong !!! How can I send you a picture of what I did ??

Stone Preston
Stone Preston
42,016 Points

Try refreshing your browser and starting over. Sometimes the challenges glitch

Stone, I went back and retyped the whole thing, and this time IT WORKED YEA !!!!! Thanks to you and earlier, thanks to Todd !!!!!

Oh poop --- still getting message "need html tag" so frustrated !!!