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

Damian Davis
Damian Davis
227 Points

Bummer: You need to place <head> and <body> tags between the <html></html> tags.

Bummer: You need to place <head> and <body> tags between the <html></html> tags.

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

2 Answers

Steven Parker
Steven Parker
231,268 Points

You've got the right idea, but no tag other than DOCTYPE has an exclamation point in it.

Also, for each element, the start tag is the one without the slash and must come first. With a little editing and re-ordering you'll pass the challenge.

Christine Hendrickson
seal-mask
.a{fill-rule:evenodd;}techdegree
Christine Hendrickson
Front End Web Development Techdegree Student 5,422 Points

In addition to Steven's response (which is spot-on), you may also want to get into the habit of line breaking and indenting your code. Not only will this help other people looking at your code, it helps to see it clearly and spot things you've missed.

Happy coding!