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 trialReece Freeman
913 PointsWhen checking my index.html file code in the Validator, the font style reference code (copied from Google) doesn't pass.
The response is that there is an "illegal character in query: not a URL code point." To see if there was something I was just not catching in my code, I copy-and-pasted the source code from Nick's sample website (treehousewebsite.com) and the Validator said the same thing. Has there been a new rule in the validation process that is now not accepting the code that Google creates for using its fonts? And is this something I should be concerned about?
2 Answers
notf0und
11,940 PointsThe pipe character ( | ) isn't valid, and should be replaced with %7C. I'm not sure it breaks anything if you leave it in, but to be safe, it's an easy fix :)
Hope that fixes things.
Peter Mumford
7,774 PointsCheck to see if quotes have somehow been converted to curly-quotes. It happens all the time, and its a pain.
If you use a good text editor (coda, sublime text, etc) it should highlight stuff like that and make it easy to find.
Reece Freeman
913 PointsReece Freeman
913 PointsAh! I was wondering about that... Thanks for the help!
Justin Ayers
6,930 PointsJustin Ayers
6,930 PointsYou can also change the (|) with %20 as a space. Also with this, in the demonstration video, why do you (Nick) pass with no errors although you use the pipe character in your code?