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!

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

Jake Cormier
Jake Cormier
16,098 Points

It asks to set the character set of the page, however my code (<meta charset = "utf-8">) doesn't seem to suffice. Whynot

It is verbatim to the previous code that was taught, but it shows as incorrect not sure why though.

It's hard to advise without seeing the context of your code, but it might disapprove of the spacing around the =. If you remove that and it still doesn't like your code, feel free to edit your post or add a comment that contains your HTML (making sure to use the Markdown Cheatsheet link below the Add Comment section for guidance) and we can help you sort it out.

1 Answer

Hi Jake,

Your code may well be correct, as long as you're placing that meta tag in the head of the document. However, the test environment isn't as forgiving as actual browsers - it won't allow for the spacing before and after the equals sign.

Hope that helps!