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

Footer code is correct, but has been linked to FB account, help?

Here is my code, but the <p> text is linked to my FB account on the index page in the browser. Does anyone know what I've done wrong? Only noticed when I tried changing the CSS of the footer text. Thank you!

<footer> <a href="http://twitter.com/reallyhub"><img src="img/twitter-wrap.png" alt="Twitter Logo"</a> <a href="http://facebook.com/keith.hubbard.94"><img src="img/facebook-wrap.png" alt="Facebook Logo"</a> <p>© Keith Hubbard 2014</p> </footer>

1 Answer

Colin Bell
Colin Bell
29,679 Points

You haven't closed either of your img tags. Not sure if that's where the problem lies, but it might be.

  <a href="http://twitter.com/reallyhub"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
                                                                                           ^
                                                                                    <!-- Up here -->
  <a href="http://facebook.com/keith.hubbard.94"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>
                                                                                                     ^
                                                                                               <!-- Up here --> 
 <p>&copy; Keith Hubbard 2014</p>
</footer>

simple. brilliant. simply brilliant. thank you Colin!