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 Build the Footer

Build the Footer

Whenever I try to do the code challenge for this lesson, I can't get fast the first step. I put in both images as shown below:

    <a>
      <img src="img/facebook-wrap.png" alt="Facebook Logo">
    </a>
    <a>
      <img src="img/twitter-wrap.png" alt="Twitter Logo">
    </a>
  </body>
</html>```

But it keeps asking me if I put in the image for Twitter! I have honestly put in exactly as shown in the video, but it still won't accept it. What am I doing wrong?

2 Answers

Christian Frick
Christian Frick
14,586 Points

This code worked for me

<footer>
      <p>&copy; 2013 Nick Pettit.</p>
      <img src="img/facebook-wrap.png" alt="Facebook"/>
      <img src="img/twitter-wrap.png" alt="Twitter"/>
    </footer>

You might try nesting your img tags inside another tag.