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

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,755 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
231,268 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,755 Points

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

thank you so much, it worked now :)

Caleb Kemp
Caleb Kemp
12,755 Points

Glad I was able to help :smile: