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
Kevin Scanlon
1,248 Points<Tags> highlighted in red
Hi: My last three tags are highlighted in red on my workspaces: ///html </div> </body> </html>
Does that indicated that I've done something wrong?
Here's a link on Codepen with all of my code:
http://codepen.io/librariankevin/pen/Bpzgw
Thanks! Kevin
3 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Kevin,
I ran your code through the w3c html validator and you do have some errors. http://validator.w3.org/#validate_by_input
You have a ul tag placed before the <section> element
<div id="wrapper">
<ul id="gallery">
<section>
<ul>
You should only have 1 start ul tag there and it should be after <section>
LIke this:
<div id="wrapper">
<section>
<ul id="gallery">
Also, you should not have spaces in your filenames.
You have <img src="img/twitter logo.png" alt="Twitter Logo">
Either use an underscore or hyphen where you would like to have a space, twitter_logo.png or you have to url encode spaces and replace with %20. ex. twitter%20logo.png
I recommend that you just use underscores or hyphens as it's cleaner than having %20's everywhere.
Adam Moore
21,956 PointsWhen I check it out, it doesn't show any tags in red. It does show a little warning message that states that you don't need to put the <!DOCTYPE html> on there, though.
Kevin Scanlon
1,248 PointsOK...Thanks Adam!