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

Martin Park
Martin Park
12,792 Points

Google font link not being validated?

Hi,

I'm in the middle of the "How to Make a Website" tutorital. I'm at the validation process and trying to validate the index.html. My code seems to be the same as Nick's but I'm getting 1 warning upon validation?

It seems to be an error with the google font link, which would have just been copied and pasted:

Error: 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. From line 7, column 5; to line 7, column 142 css">↩ <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' 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.

I could just ignore it but wondered if someone more experienced can see what the problem is quite easily?

Many thanks

Martin

2 Answers

Hi Martin,

Can you try replacing the pipe (|) in the url with %7C please?

Does that resolve the issue?

-Rich

Martin Park
Martin Park
12,792 Points

Thanks Rich, I thought it might be something like that but wasn't exactly sure which character was the problem - or what to change it to! Thank you. I can move on without my OCD bothering me too much :) Cheers

No problem :)

-Rich

stevenstabile
stevenstabile
9,763 Points

Thanks Rich. I had the same issue as Martin.

Glad you got it sorted :)

-Rich

Andres Martinez
Andres Martinez
1,966 Points

Same issue, same resolution! Thanks for the help Rich!