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

Trouble in the validation step

Hi there, At the time to validate my index.html file in validator.w3.org I received an error. I double check many alternatives to see if it's something wrong with the code, but it seems like the code is fine. Is there anybody with a similar problem?? Thank you.

3 Answers

Hi William,

It's referring to the vertical bar | in the url you copy from google fonts. This is considered an unsafe character and should be url encoded.

You can replace all occurrences of it with %7C to get rid of the error. Hit me back if it works for you!

What is the error? I received an error for incorporating Google fonts. Apparently it did not like the pipe between the two font types. Was that what you got?

I am still new, too, so I am not sure if this is correct way to do it, but I resolved it by separating the two fonts into two different lines.

Thank you. I'll look it up later. I appreciate your quick response.