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 trial
Ali Eljayar
1,135 Pointsthe validator gives me 2 errors Line 7, Column 142 <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sa
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.
<link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
1 Answer
Zachary Green
16,359 PointsIts the pipe char in the url (http://stackoverflow.com/questions/22466913/google-fonts-url-break-html5-validation-on-w3-org) just "Url encode the | (pipe characters) in the href attribute (%7C)"
Ali Eljayar
1,135 PointsAli Eljayar
1,135 Pointsi tried but it does not work <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic%7C,700italic,400,700,800' rel='stylesheet' type='text/css'>
Zachary Green
16,359 PointsZachary Green
16,359 PointsIMHO if it works in the browsers and you know thats the only error from the validator i wouldnt worry to much.