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

Daniel Oviedo
Daniel Oviedo
2,812 Points

Validating my HTML file

Error: Bad value https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800 for attribute href on element link: Illegal character in query: | is not allowed. From line 7, column 5; to line 7, column 143 css">ā†© <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>ā†© <

It says the sign | is not allowed. I tried removing it but still won't pass the validation. Has anybody experience the same issue?

2 Answers

In order to get around this for the validation replace the | with %7C
https://www.w3schools.com/tags/ref_urlencode.asp

As you scroll down the list you will see that for the utf-8 the | is %7C.

Hopefully that helps.

  • Natsu
ywang04
ywang04
6,762 Points

Thanks a lot.

Daniel Oviedo
Daniel Oviedo
2,812 Points

Yes, it worked! Thank you!