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

Madtown Fresh
Madtown Fresh
740 Points

link around my twitter logo?

before my <img src="img/twitter-wrap.png" i have my <a href="http://twitter.com/(my twitter name here)"></a> and the code challenge keeps saying "bummer! did you link your twitter img? and i dont understand why the link is not working but the facebook one is. i even tried to use something like google.com instead of twitter but no dice

2 Answers

James Finn
James Finn
7,055 Points

I looked at the lesson. Image tags can be linked when wrapped in anchor tags, as follows:

<a href="twitter.com/somebody">
    <img src="img/twitter-wrap.png" alt="twitter logo">
</a>
Madtown Fresh
Madtown Fresh
740 Points

yea i was closing out me <a thanks for the quick reply though!

James Finn
James Finn
7,055 Points

You're welcome. Mark it as the answer if it was helpful.