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

Adding images

how to add a social network wrap such as twitter

3 Answers

Samuel Webb
Samuel Webb
25,370 Points

By using the img tag. They're just images called facebook-wrap.png or whatever social network. You can add them by using the same tag that is used for the other images in the html document. Add them right after the p tag inside of the footer.

</section> <img src=img/facebook-wrap.png alt="facebook logo"> <img src=img/twitter-wrap.png alt="facebook logo"> <footer>

Thats what l did and its writing me an error msge

Samuel Webb
Samuel Webb
25,370 Points

The instruction say to put it inside of the footer element. Also, you didn't put quotes around the image paths. Same as Levent said below. Your footer code should look like this:

<footer>
  <p>&copy; 2013 Nick Pettit.</p>
  <img src="img/facebook-wrap.png" alt="Facebook">
  <img src="img/twitter-wrap.png" alt="Twitter">
</footer>
Levent Şen
Levent Şen
1,775 Points

Hi sir , i think u forget to close footer element. + you forget " " them too. example usage <img src=" " alt=" ">

<footer> <img src="img/facebook-wrap.png" alt="facebook logo"> <img src="img/twitter-wrap.png" alt="twitter logo"> </footer>

Samuel Webb has the right structure:)

Nice work Sam!