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

James Cudjo
James Cudjo
180 Points

Facebook & Twitter buttons

My code for the footer is functioning, they take me to my accounts when I click on them but they appear as links and not the buttons that they should be.

4 Answers

Tom Bedford
Tom Bedford
15,645 Points

Hi James

Looks like you're missing the opening opening tags for your img elements.

Try this:

<a href="http://twitter.com/blckbrryconsul"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
<a href="http://facebook.com/james.cudjo"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>

Without seeing your code it's hard to find the exact problem, but they should look something like this

<a href="twitter.com"><img src="image-name.jpg"></a>

So, there is probably something wrong with the img tag, either the filename is wrong or maybe a quote is missing.

James Cudjo
James Cudjo
180 Points

<footer> <a href="http://twitter.com/blckbrryconsul">img src="img/twitter-wrap.png" alt="Twitter Logo"></a> <a href="http://facebook.com/james.cudjo">img src="img/facebook-wrap.png" alt="Facebook Logo"></a>

James Cudjo
James Cudjo
180 Points

Tom Bedford! You are the man! That was it on the nose!