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

Felix Reyes
Felix Reyes
4,838 Points

I submitted the following inside of the head tags and I'm getting an error: <title> Star Wars Merchandise </title>

What exactly I'm I doing wrong?

<head> <title> Star Wars Merchandise </title> <meta charset="utf-8"> </head>

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hey Felix.

Without seeing your actual code (It's always better to paste you code for us), I can only guess that it is the spaces you have in the question part.

There is nothing wrong with the challenge (I just went through it to make sure).

You can't have spaces before or after the sentence, because the challenge did not ask for any spaces

<title>Star Wars Merchandise</title>

Hope this helps. :)

Felix Reyes
Felix Reyes
4,838 Points

Thank you Jason.

You are correct about the spaces. I was able to successfully submit the challenge by removing the spaces in the code.

Tommy Choe
Tommy Choe
38,156 Points

I don't think you're doing anything wrong. I think there might be something wrong with the code challenge. It's not working for me as well.