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 trialAJ Nunez
Courses Plus Student 1,269 PointsQuestion 4 of the test challenge, Web design, html, Set the character set for the page, I'm getting an error...
Why I'm getting this feedback? What am I missing here?
"Remember to add a character set attribute for your meta tag."
<!DOCTYPE html> <html> <head> <meta charset= "utf-8"> </head> <body></body> </html>
<!DOCTYPE html>
<html>
<head>
<meta charset= "utf-8">
</head>
<body></body>
</html>
2 Answers
Keri Nicole
15,134 PointsHi, AJ! It looks like you have two extra spaces between the "=" symbol and your character set. You'll want it to look like this:
<meta charset="UTF-8">
It doesn't really make a difference whether or not you choose to capitalize the UTF as I did above, but most guidelines will tell you that's it's generally preferred.
AJ Nunez
Courses Plus Student 1,269 PointsAwesome Keri, that worked! Thank you!!!!
Charity Matema
5,030 PointsCharity Matema
5,030 PointsDo not include spaces between equal sign and "utf-8" and it works