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 trialAnthony Liu
11,374 PointsWebsite Testing problem
When I enter my html code into validator.w3.org, it gives me an error that
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.
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsThe vertical bar |
needs to be url encoded with %7C
garyclap
1,240 PointsChange the | character (between One & Open) to &7c instead. So, the link should read:
http://fonts.googleapis.com/css?family=Changa+One&7cOpen+Sans:400italic,700italic,400,700,800
Anthony Liu
11,374 PointsIt gives me the error & did not start a character reference. (& probably should have been escaped as &.)
Anthony Liu
11,374 PointsAnthony Liu
11,374 PointsThank you
Anthony Liu
11,374 PointsAnthony Liu
11,374 PointsThank you
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsYou're welcome.