Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

a k
2,880 PointsValidation related question: Error at line 7. Any idea what is the error?
Hi all, I get 1 error at line 7 and 3 warnings in validation step in Website testing. Here is the line:
<link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
Any help is appreciated in finding what the error is.
Thank you.
2 Answers

Chris Shaw
26,662 PointsHi a k,
As Theodore said, you need to use markdown when posting code otherwise it won't appear correctly or at all, you can read more about it at Posting Code to the Forum.
To fix this error you simply need to URL encode the pipe |
symbol which results in %7C
, simply change the url to reflect this and your code will validate.
<link href='http://fonts.googleapis.com/css?family=Changa+One%7COpen+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
Happy coding!

a k
2,880 PointsThank you all. That worked, Also thanks for the Markdown Cheatsheet for the code format.
Ted Sumner
Courses Plus Student 17,967 PointsTed Sumner
Courses Plus Student 17,967 PointsUse the Markdown Cheatsheet to format your code quotes. We can then look at your code and help provide answers.