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.
Rifelle Owens443 Points
HTML, putting paragraph in body element
The challenge is asking me to put "My first paragraph!" in the body element. Not sure what I am doing wrong...
<!DOCTYPE html> <html> <head> </body> </html> <head> </head> <body> <p>"My first paragraph!"</p> </body>
__ROLLER__ Angel25,594 Points
Also, you have a random closing body tag below your head tag that should be removed.
This is another one of those poorly written challenges in which it only wants the stuff inside the quotation marks, not the quotations themselves. If you remove them in your paragraph, you'll pass the challenge.
Your closing html tag should be the last tag of the code, just after the closing body tag. You also have one extra opening head tag there. Among the errors others pointed out already here's the fixed syntax :)
<!DOCTYPE html> <html> <head> </head> <body> <p>My first paragraph!</p> </body> </html>