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! While you're at it, check out some resources Treehouse students have shared here.

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

Help!!

It says Add a meta description to the page. Use the text found in the second paragraph: "Shirts and hats for fans of Star Wars". and it keeps saying Bummer! No meta was found.

6 Answers

Edwin Goddard
Edwin Goddard
8,988 Points

Ashley,

Are you using the format like this guide?

Thanks,

Edwin

Thank you I figured it out using that.

The correct answer is:

<meta name="description" content="Shirts and hats for fans of Star Wars">

Thanks

Found the correct input. At <meta> tag content, put "Shirts and hats for fans of Star Wars". And the same at second <p> tag. Change the <p>Boba Fett Shirts</p> to <p>Shirts and hats for fans of Star Wars</p>. Done.

Dan Gorgone
STAFF
Dan Gorgone
Treehouse Guest Teacher

Hi Ashley Scott - it would help to know what you're trying so we can help you here. If you paste in the code that you're trying, we might be able to spot a problem.

I have the similar problem which I had attempted others possible content value. Have a look below:

<head>
  <title>Star Wars Merchandise</title>
    <meta charset="utf-8">
  <meta name="description" content="Boba Fett Shirts and hats for fans of Star Wars">
</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>

Anyone has better solution? Is much appreciated.

I had an issue when I was trying to input the code as well and it was super simple as to why it was not allowing me to complete the challenge. The period "." was in the wrong spot. See below:

<head> <meta charset="utf-8"> <title>Star Wars Merchandise</title> <meta name="description" content="Shirts and hats for fans of Star Wars".> </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>