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

issue with html code

so i got to the website testing and its warns me with three things (only 1 of those is making it invalid.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Harrison page | designer </title>
    <link rel="stylesheet" href="css/normalize.css"> 
    <link href='http://fonts.googleapis.com/css?
family=Montserrat|Yanone+Kaffeesatz:400,200,300,700' 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>Harrion Page</h1>
        <h2>Designer</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 us</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</p>
              </a>
            </li>
            <li>
              <a href="img/numbers-02.jpg">
                <img src="img/numbers-02.jpg" alt="">
                <p> blending moods</p>
              </a>
            </li>
            <li>
              <a href="img/numbers-06.jpg">
                <img src="img/numbers-06.jpg" alt="">
                <p> 80's</p>
              </a>
            </li>
            <li>
              <a href="img/numbers-09.jpg">
                <img src="img/numbers-09.jpg" alt="">
                <p> drips created with photoshop</p>
              </a>
            </li>
            <li>
              <a href="img/numbers-12.jpg">
                <img src="img/numbers-12.jpg" alt="">
                <p> shapes</p>
              </a>
            </li>
          </ul>
            </section>
      <footer>
     <img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon">
     <img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon">
      <p>&copy;2014 Harry Page </p>
      </footer>
      </div>
  </body>

</html>

Line 9, Column 16: Bad value http://fonts.googleapis.com/css?↩family=Montserrat|Yanone+Kaffeesatz:400,200,300,700 for attribute href on element link: Tab, new line or carriage return found. type='text/css'> Syntax of URL: Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

2 Answers

Abdullah Hashim
Abdullah Hashim
946 Points

Do you have a line break after "http://fonts.googleapis.com"? If so "http://fonts.googleapis.comcss?↩family=Montserrat|Yanone+Kaffeesatz:400,200,300,700" should all be on one line without any line breaks, spaces or tabs.