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

HTML

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.