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

Ryan Gittins
1,056 PointsHTML failing validation check?
I've almost finished making my first website, but the html code has failed the validation check. I've checked the css and that passes. It's failing for the line my fonts are linked in. What I don't understand is that if the html wasn't right, wouldn't that stop the css working for that particular font?
3 Answers

Jason Anders
Treehouse Moderator 145,860 PointsHi Ryan,
Google fonts will always trip up the HTML checker, because the checker does not like the | symbol.
If you replace the | with %7C (make sure the C is Uppercase and you don't need a space after the C) that will eliminate the error.
But don't worry, It won't affect your code, your site, or the performance either way... it's just the checker.
Keep Coding! :)

RAFAEL COSTA
6,243 PointsYup Ryan. Like our friend Jason said, it's just the google way to create the code that doesn't match the "specifications" of the validator. No problem for performance or functionality. Go on and keep coding! ;)

Ryan Gittins
1,056 PointsThanks a lot guys, really appreciate the help! :)
Ryan Gittins
1,056 PointsRyan Gittins
1,056 PointsFor reference this is what the line looks like:
<link href='http://fonts.googleapis.com/css?family=Bevan|Hind:400,700|Bree+Serif|Nunito:700|Tillana:800|Arvo:700' rel='stylesheet' type='text/css'>