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

Ludmilla Garcia
Ludmilla Garcia
180 Points

Inside your body element, put in a paragraph that says, "My first paragraph!"

why is not going?

index.html
<!--This is my story, but you should insert your own story below. Use the <p> tag to start a new paragraph and </p> at the end of each paragraph.-->
<!DOCTYPE html>
<html>
  <head>
      <title>Argh</title>
  <meta charset="utf-8">

 <style>
    h1 {text-align: center; color: red}
    h2 {text-align: center; color: pink}
 </style>
  </head>
<body>
<h1>Peg Leg</h1>
    <h2>By Ludmilla Garcia</h2>

<p>My first paragraph!</p>


</body>
</html>
Caleb Kemp
Caleb Kemp
12,714 Points

As mentioned in your other post, it's the <p></p> tags in the comments that are making it fail. <!--This is my story, but you should insert your own story below. Use the <p> tag to start a new paragraph and </p> at the end of each paragraph.-->

1 Answer

Steven Parker
Steven Parker
222,336 Points

For best results with all challenges, do only what the instructions ask for. Doing other things (even if the code is good) can confuse the validator and cause the submission to fail.

Caleb Kemp
Caleb Kemp
12,714 Points

What Steven Parker says is true, that is good advice.

Ludmilla Garcia
Ludmilla Garcia
180 Points

thank you so much, it worked now :)

Caleb Kemp
Caleb Kemp
12,714 Points

Glad I was able to help :smile: