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
Beverly Banks1,919 Points
Code will not work on Code Challenge Question 4. Not sure what I am doing wrong? Any suggestions? Thanks!
<!DOCTYPE html> <p> <html> <head> </head> <body> <h1> <h2> <body> </body> </p> <html> </html>
alastair cooper30,617 Points
you have an unnecessary p tag and an html tag at the end of your code. and the h1 and h2 tags need closing. try this:
<!DOCTYPE html> <html> <head> </head> <body> <h1>heading here </h1> <h2>smaller heading here</h2> <p>paragraph here</p> </body> </html>
keep going. you'll get the hang of it.