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 trialjohn santos
Courses Plus Student 2,633 Pointsi need help validating my code.
im trying to get my get my code but i get an error and im not sure how to fix it please help. this is the message i get:
Line 7, Column 142: Bad value http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800 for attribute href on element link: Illegal character in query: not a URL code point.
β¦ne|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'>
Syntax of URL: Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
i dont know what it means when it says the characters should be represented in NFC and spaces should be escaped as %20.
please help. very confused.
2 Answers
Rich Bagley
25,869 PointsHi,
As the pipe ( | ) is an illegal character you'll need to encode it with %7C.
This means the following:
http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800
will need to become:
http://fonts.googleapis.com/css?family=Changa+One%7COpen+Sans:400,400italic,700,700italic,800
Hope that helps.
-Rich
john santos
Courses Plus Student 2,633 Pointsthat sure did the trick thanks alot!