Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!