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

Business SEO Basics Better SEO Through Code Title Tag and Meta Description

Travis G
Travis G
8,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?

    <meta charset="utf-8">
  <title>Star Wars Merchadise</title>
    <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>

2 Answers

your code is fine, but you mis-spelled "Star Wars Merchandise" :)

Travis G
Travis G
8,384 Points

Ahh okay that's embarrassing, thanks though.

Mark Cuda
Mark Cuda
6,428 Points

That's ok. At Hollywood Studios in Disney, they have a store called "youse guise moichendice", and nobody seems to mind ;)

Mark Cuda
Mark Cuda
6,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.

            <!DOCTYPE html>