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

i have been trying to add the twitter logo but it is not allowing me to. i have checked and double checked the coding.

i used the exact coding the instructor uses and it still has not worked.

Hi,

Can you post your code please?

-Rich

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

i posted it in this comment but it doesnt show. where should i post it.

Too post code you need to use the markdown info. There is a link below the message box, "Markdown Cheatsheet" it will tell you how to post code.

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

5 Answers

Hi,

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

Based on your code above everything looks correct.

A few things to check would be:

  • You have an image named twitter-wrap.png within your img folder and not in another location.
  • The case of your image name is correct. If the folder is named IMG instead of img as you've specified it may not show.
  • Any typos or missing letters.
  • The image is a png as specified.

Hopefully one of those will help :)

-Rich

yeah, i checked and double checked all of the above. but thanks anyway. i appreciate it.

If none of the above have worked I'm a little unsure then. You could try holding Ctrl + F5 to clear the cache on refresh. If that doesn't work can you post the rest of your code please?

-Rich

the markdown cheatsheet doesnt cover how to copy and paste, i tried using the keyboard shortcuts and the edit drop down menu, i cannot copy the rest of my codes.

Ctrl + C will copy and Ctrl + V will paste (replace Ctrl with Cmd if using a Mac)

-Rich

yeah, i tried that. but something strange is happening. it isn't showing any of the codes i put it. i tried inserting a different image and it wouldnt allow it. i also deleted a line of coding for a prior image and tried to replace it. it doesnt show up. i am not sure if it is a browser issue or something else at this point because the coding seems legit.

Ok, well keep us updated if you find the issue :)

-Rich

This is the full line of code you need

    <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="twitter logo" class="social-icon"</a>

Thanks you so much! I appreciate all of you!

Jonathan Wright
Jonathan Wright
5,853 Points

Make sure you don't have any adblockers running on your website page. Some adblockers will block links to social media