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 trialDerek Carlson
1,237 PointsError on testing
Hi, I get an error when testing my website. This is what it says.
Validation Output: 1 Error
Error Line 7, Column 142: Bad value http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800 for attribute href on element link: Illegal character in query: not a URL code point. …ne|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> Syntax of IRI reference: Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
This is weird, since my code is exactly the same as the one in the video for this line. Any help please?
Thank you!
4 Answers
bothxp
16,510 PointsHi Derek,
This seems to be a known issue that has started happening on http://validator.w3.org
The validator is complaining about the | symbol. To get your html to pass you need to change | to %7C in the href
eg:
<link href="http://fonts.googleapis.com/css?family=Changa+One%7COpen+Sans:400,400italic,700,700italic,800" rel="stylesheet" type="text/css">
Derek Carlson
1,237 PointsThank you!
Travis Carney
Front End Web Development Techdegree Graduate 17,797 PointsSame problem
Thanks.
Chase Pierce
2,060 PointsSame problem, thanks bothxp for the response!