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 trialMitchell Cohen
1,451 PointsBummer! Your paragraph needs to go between the <body></body> tags.
why is it saying: Bummer! Your paragraph needs to go between the <body></body> tags.
when my paragraph is in fact between the body tags?
<!--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>
<h1>Peg Leg</h1>
<h2>By Mitchell Cohen</h2>
<p>My first paragraph!</p>
</body>
</html>
2 Answers
Gennaro Turco
2,557 PointsMaybe what the exercise is asking it's just to write the paragraph inside the body and not the <h1> and <h2>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>My first paragraph</p>
</body>
</html>
Sergio Mesquita
Front End Web Development Techdegree Student 14,897 PointsTry to remove the <h1> and <h2>
Moderator Edited Response: Moved from the Comment Section to Answers so it may be upvoted and/or marked as Best Answer.
Jason Anders
Treehouse Moderator 145,860 PointsJason Anders
Treehouse Moderator 145,860 PointsModerator Edited Response: Moved from the Comment Section to Answers so it may be upvoted and/or marked as Best Answer.
That is correct. The challenge never asked for any header tags. When you add something that the challenge didn't ask for, you will receive a Bummer! because the code checker is looking for very specific things. Remember, code challenges are going to be very specific and very picky. :)
Keep coding!