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

Design

Error while validating website

http://treehousewebsite.com/ I have made a similiar website myself while I was talking the "How to make website" course. It's an awesome course but I wonder why is there a validation error on the page if you go http://validator.w3.org/check Please try "see page code" and copy paste it there and see what it says. Thanks, much appreciated.

Andres Altuve
Andres Altuve
16,274 Points

Ivan you need to provide the code or a file or domain in order to check the code..

5 Answers

Jacob Miller
Jacob Miller
12,466 Points

It's just because the link to the font on Google Fonts includes a | character, which is illegal in html and should be replaced with this |

Jacob Miller
Jacob Miller
12,466 Points

I should say the character I'm talking about is the vertical bar on the same key as the backslash key.

Nice, thanks a lot.

I shall try it though :p

Mhm, doesn't really work. Could you please provide the working string?

Jacob Miller
Jacob Miller
12,466 Points

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

You would put this: <link href="http://fonts.googleapis.com/css?family=Changa+One&#124;Open+Sans:400italic,700italic,400,700,800" rel="stylesheet" type="text/css">

All I've changed is the | between "Changa+One" and "Open+Sans" to &#124;