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 Challenge error?

I'm trying to finish the HTML Challenge in Treehouse Club: HTML, but it keeps giving the same message: " Bummer! You need to add a <p> tag between the <body></body> tags." Even though I did exactly that. See picture: https://s9.postimg.org/4yurjt6in/treehouse.png

Can anyone explain to me what's going wrong here? From what I can see, I'm doing exactly what the challenge is telling me what to do, so I think it might be an error.

2 Answers

Erik Nuber
Erik Nuber
20,629 Points

The problem is you have your style tag still open. That will cause a problem as it considers that tag still open. Also the text-align is missing the hyphen.

Tracy Excell
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Tracy Excell
Front End Web Development Techdegree Graduate 15,333 Points

Hello,

Try writing your code without spaces between the tags. It might help you in this challenge. If that doesn't work try checking your tags above are all opened and closed correctly as stated by Erik. <style>code in here</style>

<p>My first paragraph!</p>