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.


Help with HTML code challenge

Hi all, The challenge is asking me to

"Add a title tag to the head of the document containing the content "Smells Like Bakin' Cupcake Company"

On line 5, under the meta tag, I answer.

<title>"Smells Like Bakin' Cupcake Company"</title>

I am being told that the answer is wrong. "Bummer! The text inside the title tag should match the instructions exactly."

P.S. In my answer I am using the open and close title tags but they do not show in this forum post.

Can anybody figure out why my answer is wrong? Help!

2 Answers

Stone Preston
Stone Preston
42,016 Points

take the quotes off between the title tags if they are there.

<title>Smells Like Bakin' Cupcake Company</title>

Thanks Stone, that was the problem, I took the instruction too literally and was putting the quote marks in the tags.

Thanks again

John Locke
John Locke
15,479 Points

Hi Patrick:

Remember that title tags aren't like a meta tag, they aren't self closing. You need an opening and closing title tag, with the content in between.