Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Hannah Smith
Hannah Smith
635 Points

I received an error at the WC3 markup service relating to my google font choice.

Line 7, Column 173: Bad value http://fonts.googleapis.com/css?family=Roboto:400,300,400italic,700,700italic,900|Alegreya:400italic,700italic,400,700,900 for attribute href on element link: Illegal character in query: not a URL code point. …900|Alegreya:400italic,700italic,400,700,900' rel='stylesheet' type='text/css'> Syntax of URL: Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

3 Answers

lordcozycat
lordcozycat
11,940 Points

Change the pipe character ( | ) to it's UTF-8 character: %7C.

Hannah Smith
Hannah Smith
635 Points

This worked. Thank you!

Deb Murphy
Deb Murphy
1,641 Points

I had the same error - thank you for the fix Bryan H!

Aaron Jackson
Aaron Jackson
5,644 Points

Can you post your code?

Aadit bimbhet
Aadit bimbhet
813 Points

<link href="http://fonts.googleapis.com/css?family=Changa+One%7cOpen+Sans:400italic,700italic,400,700,800" rel="stylesheet" type="text/css">