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
Travis G8,384 Points
What's wrong with this code?
So I'm suppose to add the <title> tag nested in the <head> tag, and to me it seems like I did just did that. Am I missing something?
<html> <head> <meta charset="utf-8"> <title>Star Wars Merchadise</title> </head> <body> <p>Star Wars Merchandise</p> <p>Boba Fett Shirts</p> <p>Available in white; sizes S-M-L-XL</p> <p>Darth Maul Hat</p> <p>Available in black or white at <a href="http://hats.com">Hats.com</a></p> </body> </html>
your code is fine, but you mis-spelled "Star Wars Merchandise" :)
Mark Cuda6,428 Points
I'm not sure which tag you're referring to since the code looks correct to me.
The only thing I notice is that you didn't declare the DOCTYPE at the top of the page
On the line before the first <html> tag (line 1) there should be the following tag.