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 How to Make a Website HTML First Use HTML Elements

I have already set the character set, but am being told to add a character set attribute for my meta tag.

As stated above, I have set the character set but the challenge is telling me I have not.

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset = "utf-8">
  </head>
  <body></body>
</html>

2 Answers

Nicholas Grenwalt
Nicholas Grenwalt
46,626 Points

In your meta tag take out the space after 'charset' and after the 'equal' sign and you should be good as gold. Hope that helps.

thanks dude! that worked great :)

Tabatha Trahan
Tabatha Trahan
21,422 Points

You have a space between the equals sign and the double quotes surrounding your character set declaration. It should look like this

<meta charset="utf-8">

get rid of the space and it should work.