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!

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

General Discussion

Frustrating syntax error in my Html code

Hello fellow developers. I am on the video entitled center the wrapper. I made some change which I was never able to correct. Here is the code.
From the about button in the navigation bar line all the way down to the </html> closing tag it is highlighted red telling me i have an error.
I tried everything i can think of and can not figure where the error is. Somebody please help and tell me where i went wrong.

    <meta charset="utf-8">
    <title>Michael Alder|Web Designer</title>
    <link rel="stylesheet" href="css/normalize.css">
     <link rel="stylesheet" href="css/main.css">
      <a href="index.html" id="logo>
      <h1>Michael Alder</h1>
           <li><a href="index.html">Portfolio</a></li>
           <li><a href="about.html">About</a></li>
           <li><a href="contact.html">Contact</a></li>
        <a href="img/numbers-01.jpg">
          <img src="img/numbers-01.jpg" alt="">
          <p>Experimentation with Color and texture</p>

        <a href="img/numbers-02.jpg">
          <img src="img/numbers-02.jpg" alt="">
          <p>Playing with blending modes</p>

        <a href="img/numbers-06.jpg">
          <img src="img/numbers-06.jpg" alt="">
          <p>Trying to create an 80's style of glows</p>

        <a href="img/numbers-09.jpg">
          <img src="img/numbers-09.jpg" alt="">
          <p> Drips created using Photoshop brushes</p>

        <a href="img/numbers-12.jpg">
          <img src="img/numbers-12.jpg" alt="">
          <p> Creating shapes using repetition</p>

      <a href="http://twitter.com/MikeKnight"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
      <a href="http://facebook.com/MichaelAlder"><img src="img/facebook-wrap.png" alt="Twitter Logo"></a>
      <p>&copy; 2014 Michael Alder.</p>


4 Answers

//here is one id ="logo" and I think when you type double quote type with shift key, not single quote(') twice.

Christian Frick
Christian Frick
14,585 Points

You need to close the id of the link

<a href="index.html" id="logo">

You missed the closing quotation mark after "logo" on line 11.

Thanks a million brother.

Guess everyone anwsered before I could get my anwser completed. lol but all the anwsers above are correct