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!
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
Sara Parker
2,238 PointsCan't get my Facebook-icon to work. Can I get some help?
1 Answer

Jennifer Nordell
Treehouse TeacherHi there, Sara! I took the liberty of forking your workspace and found the issue. You are pointing to the image, but not the correct directory, It is expecting the image then to reside in the same directory as the index.html
, but it resides in the img
directory. Also, your img
tag was not closed.
When I change the appropriate line to this:
<a href="https://www.google.no"><img src="img/facebook-wrap.png"alt="Facebook
Logo" class="social-icon" /></a>
... it does appear. However, given the colors of the background and the color of the image, it is only barely visible, but it does work!.
Hope this helps!
additional note
I am moving this question to the HTML section as it is specifically tied to an HTML course.
Sara Parker
2,238 PointsSara Parker
2,238 PointsThanks!