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

How to add a twitter image

inside the footer how do i add a twitter image

2 Answers

Sam Baines
Sam Baines
4,315 Points

Hi Manyara - try something like the following code, obviously changing the addresses for the link and the the path to the image to wherever the image you want to use is. Have a play around with the code in a workspace.

<footer>
     <a href="example.com"><img src="img/twitter-icon.png"></a>
</footer>
justinw
justinw
14,517 Points

If you're like me and you use FortAwesome or Font Awesome it may look something like this:

<footer>
     <a href="https://twitter.com/twitterlink" target="_blank"><i class="fa fa-twitter"></i></a>
</footer>```