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 trialBoris Ruvinov
6,812 PointsError with w3 Validator
Everything has been working as I kept up with everything. When I get to validating, I get an error on the font <link>.
Any ideas on what can be the problem?
This was the error: 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.
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/responsive.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Boris,
You have to url encode the vertical bar, |
Replace it with %7C
Boris Ruvinov
6,812 PointsSolved
Boris Ruvinov
6,812 PointsBoris Ruvinov
6,812 PointsDidn't catch that. Thanks!
Boris Ruvinov
6,812 PointsBoris Ruvinov
6,812 PointsDidn't catch that. Thanks!