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 Creating HTML Content Add Social Media Links

Angela Brooks
Angela Brooks
229 Points

Error message "Did you add the image for twitter (twitter-wrap.png)?" But I can't figure out where my code is wrong

Here is my code from the quiz (linking to my own sites instead of Nick's). I can't see where I went wrong.

<body>
    <footer>
      <a href="http://twitter.com/andienash"<img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
      <a href="http://facebook.com/andie.nash"<img src="img/facebook-wrap.png" alt=Facebook Logo"></a>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>

4 Answers

Joy Kesten
STAFF
Joy Kesten
Treehouse Guest Teacher

I hope you don't mind, I made a few changes to the code you submitted so it would show up in the forum. Markdown is kind of tricky sometimes.

The two things I noticed is that you didn't close your links like this: <a which is why the <> around the image is highlighted. You also didn't open your quote for the Facebook alt. Try those first and see if it helps. I'll stay posted for further assistance.

Clinton Hopgood
Clinton Hopgood
7,825 Points

You don't close the tags for the opening a tag i.e. missing > on both lines.

Angela Brooks
Angela Brooks
229 Points

Thanks to you both--I was able to correct my mistake and complete the challenge. Thank you Joy for correcting my markdown, it is a bit tricky for me.

Marston Gould
seal-mask
.a{fill-rule:evenodd;}techdegree
Marston Gould
PHP Development Techdegree Student 17,314 Points

One simple way to resolve your HTML issues is to put you code into the W3C HTML validator here:

http://validator.w3.org/#validate_by_input

Generally, you can use the error information to find where you have made an error.