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 trialSeung Woo Jung
Courses Plus Student 843 Pointsmeta charset
I am keep getting error with my meta charset, although I am not sure why.
<!DOCTYPE html>
<html>
<head>
<meta charset = "utf-8">
</head>
<body>
</body>
</html>
Seung Woo Jung
Courses Plus Student 843 Pointsthe question was:
add character set to the page.
Walter Allen
iOS Development with Swift Techdegree Student 16,023 PointsDid you remove any code or text from the previous question? Perhaps the title tags?
OR Did the question ask you to set the charset as UTF-8 and not utf-8. Sometimes the answer checker the Treehouse is using can be a bit finicky.
Seung Woo Jung
Courses Plus Student 843 Pointsyeah, I tried adding <title">"Joseph</title">", and also tried "UTF-8". It doesn't work, which is fine, but it just bugs me. for some reason the tag is literally being omitted. I actually was correct with the title syntax.
1 Answer
Alex Heil
53,547 Pointshey Seung Woo Jung and Walter Allen ,
in this case the checker is very picky about spaces, means the charset has to be written without space before and after the equal sign, like so:
<meta charset="utf-8">
that way the code will pass just fine and you can continue on with the challenge. hope that helps you out ;)
Walter Allen
iOS Development with Swift Techdegree Student 16,023 PointsWalter Allen
iOS Development with Swift Techdegree Student 16,023 PointsCan you be more specific? What error are you getting?