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 trialPavel Isaev
Courses Plus Student 1,257 PointsError 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.
5 Answers
Jacob Miller
12,466 PointsIt'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
12,466 PointsI should say the character I'm talking about is the vertical bar on the same key as the backslash key.
Pavel Isaev
Courses Plus Student 1,257 PointsNice, thanks a lot.
Pavel Isaev
Courses Plus Student 1,257 PointsI shall try it though :p
Pavel Isaev
Courses Plus Student 1,257 PointsMhm, doesn't really work. Could you please provide the working string?
Jacob Miller
12,466 PointsSo 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|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 |
Andres Altuve
16,274 PointsAndres Altuve
16,274 PointsIvan you need to provide the code or a file or domain in order to check the code..