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!
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
Jermaine Witter30,978 Points
Cannot validate HTML Markup
I'm hoping someone can help. I just completed the make you own website course, but my HTML will not validate and I'm not sure why. It has something to do with the Google fonts but Nicks markup validated fine and mine's identical. Any suggestions will be appreciated? (see error below).
Thanks Hayden. The error I get is
Error Line 7, Column 156: Bad value http://fonts.googleapis.com/css?family=Changa+One:400,400italic|Open+Sans:400italic,700italic,400,700,800 for attribute href on element link: Illegal character in query: not a URL code point. …ic|Open+Sans:400italic,700italic,400,700,800' 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.
Thanks for the tip on posting code, didn't know it get's stripped out of the post
You have to url encode the vertical bar
| that is in the google fonts url.