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!

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

JavaScript The Solution

Somehow my entire message is h1. Can someone help?

Even with the instructions in the solution video, I am not able to turn the last four lines of the message into a paragraph. They all appear as h1. I've tried adding "<p>" and "</p>" but that doesn't change anything. Does anyone have an idea how to solve this? Thanks!

This is my code: https://w.trhou.se/omyy2aud9m

1 Answer

Randy Layne
.a{fill-rule:evenodd;}techdegree seal-36
Randy Layne
Treehouse Moderator

Hey there Christine, the problem is where you are closing h1 tag, it is missing the 1! Right now you have </h> which the browser doesn't know how to interpret so it ignores it. Then since the h1 isn't closed, everything else you add after it is nested inside of the h1.

Hope this helps!

Hey Randy, thanks so much! Can't believe I missed that.