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 trialMohamedamin Kedir
401 Pointsi 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.
Mohamedamin Kedir
401 Points<img src="img/twitter-wrap.png" alt="twitter logo">
i posted it in this comment but it doesnt show. where should i post it.
Mat Sanders
4,819 PointsToo 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.
Mohamedamin Kedir
401 Points<img src="img/twitter-wrap.png" alt="twitter logo">
5 Answers
Rich Bagley
25,869 PointsHi,
<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
Mohamedamin Kedir
401 Pointsyeah, i checked and double checked all of the above. but thanks anyway. i appreciate it.
Rich Bagley
25,869 PointsIf 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
Mohamedamin Kedir
401 Pointsthe 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.
Rich Bagley
25,869 PointsCtrl + C will copy and Ctrl + V will paste (replace Ctrl with Cmd if using a Mac)
-Rich
Mohamedamin Kedir
401 Pointsyeah, 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.
Rich Bagley
25,869 PointsOk, well keep us updated if you find the issue :)
-Rich
Richard Nicholls
1,301 PointsThis 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>
Mohamedamin Kedir
401 PointsThanks you so much! I appreciate all of you!
Jonathan Wright
5,853 PointsMake sure you don't have any adblockers running on your website page. Some adblockers will block links to social media
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsHi,
Can you post your code please?
-Rich