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

I'm have errors in my html code but I can not pinpoint where the mistakes are

This is from the How to Make a Website index.html code. all of it is highlighted in RED :(

<h1>Vette Lindsay</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</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <ul id="gallery"> <li> <a href="img/bzl-01.jpg"> <img src="img/bzl-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li>

      <li>
        <a href="img/bzl-2.jpeg">
          <img src="img/bzl-2.jpeg" alt="">
          <p>Brazil.</p>
        </a>
     </li>
    <li>
        <a href="img/bzl-3.jpeg">
          <img src="img/bzl-3.jpeg" alt="">
          <p>Brazil.</p>
        </a>
     </li>
      <li>
        <a href="img/bzl-4.jpeg">
          <img src="img/bzl-4 jpeg" alt="">
          <p>Brazil.</p>
        </a>
     </li>
    <li>
        <a href="img/bzl-5.jpeg">
          <img src="img/bzl-5.jpeg" alt="">
          <p>Brazil.</p>
        </a>
     </li>
    </ul>
  </section> 
  <footer>
<a href="http://twitter.com/TTVette">"<img src="img/twitter-wrap.png" alt"Twitter Logo"class="social-icon"></a>
<p>&copy;  2019 Vette Lindsay.</p>  

</footer> </div> </body> </html>

1 Answer

You could always pass it through a validation service. One of the first errors caught is a stray </a> after <h2>Designer</h2>. There are more.