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.


My code is highlighted as if it were wrong, but its working just fine. WTF? is this gonna bite me in the x later?

``<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Red G.Rick | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Monoton|Share+Tech+Mono|Rubik+Mono+One|Metal+Mania|Calligraffitti|Caesar+Dressing' rel='stylesheet' type='text/css'> <link rel="stylesheet" type="text/css" href="css/main.css"> </head>

    <header> <a href="index.html" id="logo">
    <h2>Red's Place</h2>
       <li> <a href="index.html" >Portfolio</a>
       <li> <a href="about.html" >About</a>
       <li> <a href="contact.html" class="selected">Contact</a>

  <div id="wrapper">
        <h3>General Information</h3>
          <p>Put Info here</p>
          <p>More Info</p>
        <h3>Contact Details</h3>
          <ul class="contact-info">
            <li class="phone"><a href="tel:555-6425">555-6425</a></li>
            <li class="mail"><a href="mailto:red@example.com">red@example.com</a></li>
            <li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name="nickrp">@nickrp</a></li>


        <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo" class= "social-icon">

<a href="https://myspace.com/berbarkhan"><img src="img/myspace.jpeg" alt="Myspace Logo" class= "social-icon"> </a>

          <p>&copy; 2014 Red G.Rick</p>

</html> ``

The highlighting starts after the twitter link. Specifically i think something is wrong with the coed at

" <li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name="nickrp">@nickrp</a></li>"

Problem spot at: li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name="nickrp">@nickrp</a></li>

3 Answers

Emma Willmann
.a{fill-rule:evenodd;}techdegree seal-36
Emma Willmann
Treehouse Project Reviewer

You have an extra " in your link. The quotes should surround your link. Your code on the link should look like this:

<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=nickrp">@nickrp</a></li>

Also, in the footer, there should not be a space after the = when assigning a class. Should be:


You've got a quote in the twitter link on this line that's messing with things:

<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name="nickrp">@nickrp</a></li>

Having your screen name in quotes is breaking the flow of the quotations normally.

Hi Red,

Noticed a few things that may be causing it.

  • As Nichole mentions you have an extra quote here:
            <li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name="nickrp">@nickrp</a></li>
  • You have an extra closing anchor tag here:
        <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo" class= "social-icon">
      </a><!-- This is correct -->

        </a><!-- This one doesn't look to have an opening tag -->
  • You have an extra space before the class name on this line:
        <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo" class= "social-icon">

Hope that helps in some way :)