Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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>