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
Sachin Utkar
1,789 PointsValidation error in google font link
My html code is giving error while validation at google font link line
Sachin Utkar
1,789 Pointsok, here is my code...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>My First Web App</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Archivo+Black' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> <meta name="viewport" content="width=device-width , initial-scale=1.0"> </head> <body>
<header>
<a href="index.html" id="logo">
<h1>MY First Website</h1>
<h2>Temporary Down</h2>
</a>
<nav>
<ul>
<li><a href="index.html" class="selected">Portfolio</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="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture</p>
</a>
</li>
<li>
<a href="img/numbers-02.jpg">
<img src="img/numbers-02.jpg" alt="">
<p>Playing with blending modes of Photoshop</p>
</a>
</li>
<li>
<a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
<p>Trying to create 80's style of code</p>
</a>
</li>
<li>
<a href="img/numbers-09.jpg">
<img src="img/numbers-09.jpg" alt="">
<p>Drips created using Photoshop brushes</p>
</a>
</li>
<li>
<a href="img/numbers-12.jpg">
<img src="img/numbers-12.jpg" alt="">
<p>Creating shapes with Repetetion</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://www.twitter.com/lakshya27"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
<a href="http://www.facebook.com/sachin.utkar"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a>
<p>
© 2014 sachin utkar.
</p>
</footer>
</div>
</body> </html>
1 Answer
Ryan Field
Courses Plus Student 21,242 PointsHi, Sachin. The W3C validator likes non-alphanumeric characters to be encoded as NFC, so by switching the pipe character (|) to %7C, it should validate properly.
Sachin Utkar
1,789 PointsThanks for helping.
Ryan Field
Courses Plus Student 21,242 PointsYou're very welcome! :)
Mirko Reimbold
6,584 PointsMirko Reimbold
6,584 PointsHey Sachin, can you paste in your code? Without your code we can't see which problem is in there :)