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.

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
seal-mask
MOD
.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.