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 trialAndrew Youngwerth
10,188 PointsW3C gives me an error
Apparently it doesn't like this line: link href='http://fonts.googleapis.com/css?family=Orbitron:400,700|Aldrich' rel='stylesheet' type='text/css'
(I took the arrows (<>) out because it would hide the code)
Specifically it says "Illegal character in query: not a URL code point". When i preview the code it works fine. Should I be worried?
2 Answers
James Barnett
39,199 PointsThe |
character is invalid in a URL, so to encode the |
character change it to %7c
Adrian Scott
8,284 PointsHi Andrew,
Google fonts are known to break the HTML5 validation, because the urls are not encoded.
You need to encode the vertical bar |
I hope that helps :)
Andrew Youngwerth
10,188 PointsAndrew Youngwerth
10,188 PointsThank you for the fast responses!