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 Add Social Media Links

Deniz Jansen
Deniz Jansen
3,355 Points

What is wrong here ı can't understand please help me!

<footer> <a href="https//facebook.com"<img src='img/facebook-wrap.png' alt="facebook logo"></a> <a href="https//twitter.com"<img src='img/twitter-wrap.png' alt="twitter logo"></a> <p>© 2013 Nick Pettit.</p> </footer> </body> </html>

1 Answer

Moritz Lang
Moritz Lang
25,909 Points

Hi, your mistake is around here:

<footer>
    <a href="https//facebook.com"<img src='img/facebook-wrap.png' alt="facebook logo"></a>
    <a href="https//twitter.com"<img src='img/twitter-wrap.png' alt="twitter logo"></a>
    <p>&copy; 2013 Nick Pettit.</p>
</footer>

If you want to put an element into another you first have to close the leading part of the enclosing tag (a). The solution will look like this:

<footer>
    <a href="https//facebook.com"><img src="img/facebook-wrap.png" alt="facebook logo" /></a>
    <a href="https//twitter.com"><img src="img/twitter-wrap.png" alt="twitter logo" /></a>
    <p>&copy; 2013 Nick Pettit.</p>
</footer>