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

Getting an invalid markup validation.

says that something is wrong with this line: <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'>

Error: Bad value http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800 for attribute href on element link: Illegal character in query: not a URL code point.

…ne|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'> (The greater than symbol is highlighted red)

What do I need to do to fix it?

2 Answers

Hi Alexander,

You have to url encode the vertical bar | in the google fonts url.

Replace it with %7C

Kiko Doran
Kiko Doran
4,752 Points

If you post your actual code, it will be much easier to help you.