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

Kai Yano
Kai Yano
598 Points

I keep on getting a Bummer that said your paragraph should go between the body tags

<body>
 <p> My first Paragraph! </p>
</body>

Why would this be not said that the paragraph is not between the body? I also tried adding space but does not change.

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>
</head>
<body>
  <p> My first Paragraph! </p>
</body>
</html>

1 Answer

Caleb Kemp
Caleb Kemp
12,690 Points

Your code looks very good, the challenge is just failing because you have the comment in there. Take out the comment and it will works. so change

<!--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>
</head>
<body>
  <p> My first Paragraph! </p>
</body>
</html>

to

<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <p> My first Paragraph! </p>
</body>
</html>

and it will work. Hope that helps, sorry the challenge was so buggy.

Kai Yano
Kai Yano
598 Points

Thank you so much, it worked!

Caleb Kemp
Caleb Kemp
12,690 Points

Glad to hear it helped