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

Andrew Youngwerth
Andrew Youngwerth
10,188 Points

W3C gives me an error

Apparently it doesn't like this line: link href='http://fonts.googleapis.com/css?family=Orbitron:400,700|Aldrich' rel='stylesheet' type='text/css' (I took the arrows (<>) out because it would hide the code)

Specifically it says "Illegal character in query: not a URL code point". When i preview the code it works fine. Should I be worried?

Andrew Youngwerth
Andrew Youngwerth
10,188 Points

Thank you for the fast responses!

2 Answers

James Barnett
James Barnett
39,199 Points

The | character is invalid in a URL, so to encode the | character change it to %7c

source: http://stackoverflow.com/a/22469221/1756132s

Hi Andrew,

Google fonts are known to break the HTML5 validation, because the urls are not encoded.

You need to encode the vertical bar |

I hope that helps :)