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

HTML How to Make a Website Responsive Web Design and Testing Website Testing

Andre Martins
seal-mask
.a{fill-rule:evenodd;}techdegree
Andre Martins
Full Stack JavaScript Techdegree Student 5,738 Points

W3C test did not pass a google fonts code

This is not much of a discussion, just a heads up in case some other newbies like me come across the same issue :)

The code was not aproved by the w3c validator, more specificaly the code used to input google fonts on our html:

"Line 7, Column 140: Bad value http://fonts.googleapis.com/css?family=Days+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'>"

After some frustration I managed to find the same issue on a forum online and the problem seems to be the element "|"(vertical bar). I replaced the faulty element for "%7c" (as suggested on the thread) and it fixed the problem.

keep on coding :)

Andre

1 Answer

James Barnett
James Barnett
39,199 Points

> After some frustration I managed to find the same issue on a forum online

Nice job finding the answer to your own issue. Achievement Unlocked :star2: