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 Schrenk
11,557 PointsFixing Google font validation error
At the bottom of the page regarding website testing it says that "For example, in this project, the vertical pipes in a Google Font URL might cause an error because they're not escaped using HTML entities." However, you do not say how to resolve the issue. How would I do that? I have not been able to find a way to resolve the issue. Thanks.
1 Answer
Jason Anders
Treehouse Moderator 145,860 PointsIf you want to get rid of the validation error you have to replace the pipe symbol with %7C
(make sure the C is Uppercase and no space before the % sign or after the C).
It doesn't have to be done. It only affects the code validator. It won't actually affect the stability or actions of your site.
Keep Coding! :)
Andrew Schrenk
11,557 PointsAndrew Schrenk
11,557 PointsThank you very much Jason for the help with this. I was looking all over the web to find the right code to replace the pipe with but could not find it. Could you please give me a reference where I should have looked? Even though I am not a complete newbie, some of the stuff I referenced was so highly technical that I couldn't wade through it to even find an answer.
Thanks again,
Andy
Jason Anders
Treehouse Moderator 145,860 PointsJason Anders
Treehouse Moderator 145,860 PointsYou're very welcome. I'm glad I could help with that for you.
A really good reference for this (and many things) that I use often because it is written in 'plain' english :) can be found here:
http://www.w3schools.com/tags/ref_urlencode.asp