Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Adding Pages to a Website Build the Contact Page

Kevin King
Kevin King
1,127 Points

Portion of HTML showing in red on workspaces

<ul class="Contact Details">
            <li class="phone"><a href="tel:555-6425">555-6425</a></li
           <li class="mail><a href="mailto:nick@example.com"></a></li>
            <li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=nickrp">@nickrp</a></li>
          </ul>
      </section>
      <footer>
        <a href="http://twitter.com/nickrp">
        <img src="img/twitter-wrap.png" alt="twitter logo" class="social-icon"></a>
        <a href="http://facebook.com/nickpettit"><img src="img/facebook-wrap.png" alt="facebook logo" class="social-icon"></a>
        <p>&copy;2017 Kevin King.</p>
      </footer>
    </div>
  </body>
</html>
Kevin King
Kevin King
1,127 Points

I noticed i left out a ">" after the ending li tag for the phone, however, a lot of the HTML still shows up in error. This includes a portion of the email line the ending ul tag section tag footer tag and more. Not sure what I did incorrectly

Kevin King
Kevin King
1,127 Points

I can't believe how easy it was, but I found what I did wrong. Thanks!

3 Answers

Steven Parker
Steven Parker
216,057 Points

Congratulations on resolving your own issue. :+1:

Now you know that syntax highlighting is good for more than just looking pretty. :wink:

Kevin King
Kevin King
1,127 Points

Ha ha I kept it around just to give it some more color. I was in such a rush the previous night, I never got around to looking over the syntax. So many missing semi colons! Thanks for the good laugh.

Rouillie Wilkerson
Rouillie Wilkerson
10,407 Points

Good practice not to assume anything with your code! The instructor may have given you easy to follow instructions, but it's still easy to make mistakes. So check, then double check. Make sure you have all of your closing tags, parenthesis, etc. One missing bit, and it breaks!