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

Mauricio Duran
Mauricio Duran
6,167 Points

Error found in w3c markup validation service

When I went to check my code at https://validator.w3.org/, I got an error in line 7 (Where I added mi fonts) saying that there is a bad input at the endo of the line. (The supposedly bad input is a - > -). Please help, I dont know how to fix the problem

Andrew McCormick
Andrew McCormick
17,730 Points

you need to post your code so we can see what you submitted to the validator

1 Answer

Andrew McCormick
Andrew McCormick
17,730 Points

the link for your font isn't URL encoded. Changing the link to
<link href='http://fonts.googleapis.com/css?family=Lobster%7CIndie+Flower%7CYanone+Kaffeesatz:700,400' rel='stylesheet' type='text/css'> passes validation