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

Validator Error and warning / Tab line or carriage return found / Lacks heading. Snap Shot at the bottom

Error: Bad value http://fonts.googleapis.com/css?↩family=Chana+One|Open+Sans:400italic,700italic,400,700,800 for attribute href on element link: Tab, new line or carriage return found.

From line 7, column 3; to line 8, column 93

e.css">↩ <link href='http://fonts.googleapis.com/css?↩family=Chana+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>↩ <li

Warning: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.

From line 28, column 4; to line 28, column 12

pper">↩ <section>↩

https://w.trhou.se/5nyrf1a04s

4 Answers

Thanks a lot, Steven Parker. I really appreciate your help.

Steven Parker
Steven Parker
231,236 Points

Glad to help. But did you intend to mark this comment as the "best answer"? Usually that designation is given to the answer that contains the information that most helped to resolve the issue.

Steven Parker
Steven Parker
231,236 Points

As the message says, the validator does not like the newline in the middle of the href value string. That should all be on one line.

It also doesn't seem to like the vertical bar character ("|"). You might want to replace it with the encoded version ("%7C").

That took care of the error. Thank you. I still have the Warning. lol Maybe I'm getting too old for this.

Warning: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.

From line 27, column 4; to line 27, column 12

pper">↩ <section>↩

Steven Parker
Steven Parker
231,236 Points

It would be simple enough to add a heading. Something like this on line 29:

     <h2>Here is the gallery</h2>

WoW that is simple. I think I am over thinking everything today. Again. Thanks.