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

Validation Error!?

I get a different result during validation testing than the one shown in the video.

I used a different font, but apart from that the HTML is the same. I get the following error:

Line 7, Column 141: Bad value http://fonts.googleapis.com/css?family=Fugaz+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'>

It appears to have an issue with the closing of the statement, with the '>' after type='text/css'> being the problem.

Any ideas?

4 Answers

Emma Willmann
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Emma Willmann
Treehouse Project Reviewer

I think the issue is with the link. the link above has a | between One and Open. When I click on it, it pulls up the CSS info for that font, but it has changed the | in between One and Open to %7C. Try changing your link out with the link below. I would not add the / before the closing > as suggested above, as the link tag doesn't us that.

http://fonts.googleapis.com/css?family=Fugaz+One%7COpen+Sans:400italic,700italic,400,700,800

what happens with type='text/css' />

Just to be clear, I wasn't recommending that he left the / in, not that it matters just wanted to see if that was causing the issue.

Just be consistent with your use of the closing tags.

That worked! replacing the | with %7C resolved the issue. Many thanks!