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
Ashley Calder
Courses Plus Student 1,461 Pointswhat's wrong with my code?
when I run my 'index.html' file through the w3 validator, it comes up with an error. See image attached (the error is at the bottom). does anyone know what this means? thanks!
5 Answers
James Barnett
39,199 PointsThe issue is with the Google Web Font URL.
The | character is invalid in a URL, so to encode the | character change it to %7c
Alex Cawley
9,291 PointsLooks like the href on your font link to google fonts is wrong. Just go back to the site and recopy and paste, you might have missed the last letter or something.
Ashley Calder
Courses Plus Student 1,461 Pointsthanks, i tried it but it still comes up with the same error! Does the highlighted red '>' on the w3 validator mean that it's got a problem with that aspect of the code?
Ashley Calder
Courses Plus Student 1,461 Pointsbobkingstone
27,869 PointsVictor Saltanov
2,226 PointsI had the same problem just a few moments ago, with some help i got the answer, change the + symbol to %20 and the | symbol to %7c and it will work fine. =]
