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 Treehouse Club: HTML Publish a Story HTML Structure

Martina Vonkomerova
Martina Vonkomerova
7,790 Points

Hi, I am being asked to ad a paragraph tag in between my body tags, which I have done but the system wont accept it.

Its probably an obvious mistake that i am making

index.html
<!DOCTYPE html>
<html>
  <Head>
  <style>
  h1{text-align: centre; colour:green}
  h2 {text-align: left; colour:blue}
  <h1> A New Start </h1>
    <h2> Lets begin </h2>
    </head>
 <body>
    <p>My first Paragraph</p>
    </body>
</html>

2 Answers

Patrick Taschner
Patrick Taschner
7,176 Points

Hey Martina,

theoretically your code is absolutely correct! The only mistake is that you didn't write the exact same text inside the p tags as the instruction tells you to do ;-) Write: "My first paragraph!" inside the p tags and you should be good to go.

I hope that was helpful, Patrick :-)

Martina Vonkomerova
Martina Vonkomerova
7,790 Points

Thank you Patrick, I realised this a few minutes after i posted this questions but i appreciate your response.