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 trialEdward Wang
1,266 PointsChallenge 2 is broken
Here's my code:
<footer>
<p>© 2013 Nick Pettit.</p>
<img src="img/facebook-wrap.png" alt="sdf" href="http://www.facebook.com/">
<img src="img/twitter-wrap.png" alt="sfd" href="http://www.twitter.com/hello">
</footer>
It keeps on telling me "Bummer! Did you put a link around your twitter image?"
1 Answer
David Tonge
Courses Plus Student 45,640 Points <footer>
<p>© 2013 Nick Pettit.</p>
<a href="http://www.facebook.com/"><img src="img/facebook-wrap.png" alt="sdf"></a>
<a href="http://www.twitter.com/hello"><img src="img/twitter-wrap.png" alt="sfd"></a>
</footer>
You need an anchor tag around your img elements. Then you add your hyperlink reference in that anchor tag.