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

Error in HTML

I just checked my html with the w3 validator and it came up with the following error.

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

…s:400,400italic,700,700italic,800|Changa+One' rel='stylesheet' type='text/css'>

Syntax of IRI reference:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20. 

Here is the full line: <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic,800|Changa+One' rel='stylesheet' type='text/css'>

Can someone please tell me what the error is and how I can fix it? Thanks.

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

Maybe post the html-code too?

2 Answers

The font name Changa+One where + is a space needs to represented by %20 according to the validator.

I wouldn't worry too much about this one though.

Thanks

Sorted?