Bummer! You have been redirected as the page you requested could not be found.

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

Web Testing

Trying to figure out what the issue is with my fonts. When I go to validator.w3.org to check to see if any errors are present, this message comes up:

Line 7, Column 146: 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. …ne|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css’>

What exactly am I doing wrong?

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

3 Answers

Hi John,

I'm not sure what happened here but the code you have posted does not match up with your error.

Your error shows that you have the vertical bar | in your url. However, in the code you have posted you have it replaced with %7C already which is what you need to do to fix the error.

You also have some space between the question mark and family.

So I'm not sure what happened here. You want to remove extra space though and keep %7C in there where the vertical bar was.

Did you get that first error but then found a solution for the vertical bar and put in the %7C but now you're getting a new error?

I tried the code you posted above and I get an "end of file" reached error.

Your very last quote is a slanted quote. Not sure how that happened since you are given this link.

type='text/css’

Delete that last single slanted quote and replace with the regular single quote that's to the left of your enter key

Why don't you try and use the @import directly in your stylesheet?

@import url(http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800);

Hey Jason,

Thank you very much for that information. My code is now working properly. So thankful for Treehouse and the forum that's available for us.