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

Errors when posting HTML in validator

Hey there,

I have three errors found when i posted my code in the validator. There are errors in Line 7, 30 and 36. I've looked those lines over and i can't figure it out. Any help would be much appreciated!!

Also, worth noting the the Img folder on my file tree is capitalized

Here's my code:

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Swell Cut Productions | Halifax</title> <link rel="stylesheet" href="css/normalize.css"> <link href= 'http://fonts.googleapis.com/css?family=Raleway:300|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/Responsive.css"> </head> <body> <header> <a href="index.html" id="logo">
<h1>SWELL CUT PRODUCTIONS</h1> <h2>Halifax</h2> </a> <nav> <ul> <li><a href="index.html" class="selected">Work</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <ul id="gallery"> <li> <a href="http://vimeo.com/111211507"> <img src="Img/Screenshot 1.png" alt=""> <p>The Granite Edge, 2014.</p> </a> </li> <li> <a href="http://vimeo.com/100308887"> <img src="Img/Screenshot 2.png" alt=""> <p>Farewell to Nova Scotia, 2013.</p> </a> </li> </ul> </section> <footer> <a href="http://twitter.com/katpyne"><img src="Img/twitter-wrap.png" alt="Twitter logo" class="social-icon"></a> <a href="http://facebook.com/katrina.pyne"><img src="Img/facebook-wrap.png" alt="Facebook logo" class="social-icon"></a> <p>Ā© 2014 Katrina Pyne.</p> </footer> </div> </body> </html>

2 Answers

Jeff Jacobson-Swartfager
Jeff Jacobson-Swartfager
15,419 Points

You'll need to url encode the | characters in the google font url as %7C and the spaces in the image srcs as %20.

That worked, thank you so much!