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.

Business SEO Basics Better SEO Through Code Header Tags

Bummer take challenge : SEO BASIC / Better SEO Through Code / Header Tags / Challenge 1

My answer is always wrong, why?

Under : SEO BASICs in Better SEO Through Code in Header Tags for the Challenge ½

Challenge task 1 of 2 Within the body of the page, the first paragraph reads "Star Wars Merchandise". Change the paragraph to a header using H1 tags.

Bummer! Double check that the header tag has the correct information.

<html> <head> <meta charset="utf-8"> <title>Star Wars Merchandise</title> <meta name="description" content="Shirts and hats for fans of Star Wars"> <link rel="canonical" href="http://mystuff.com/starwars" /> </head> <body> <h1>Star Wars Shirts and hats</h1> <p>Star Wars Merchandise</p> <p>Shirts and hats for fans of Star Wars</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>

Please help me

3 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Pauline;

Make sure you are changing the <p> tag for the Star Wars Merchandise to <h1>, not the <title> tag in the page header. Also make sure you are changing the closing tag.

<h1>Star Wars Merchandise</h1>

OK here it is look at the body code, not the head code. Than's where you need to change the h1 and h2 tags.