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 trialnl9
1,478 PointsAfter Putting in Facebook img, it wants the link, which i put. It won't pass me, it says task 1 won't pass
Here's the text i used, from <img src etc, was fine. When i added the link, it wouldn't pass.
<a href="http://facebook.com/nickpettit><img src="img/facebook-wrap.png" alt="Facebook Logo">
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Nosson,
You're missing the closing quote around your href attribute and I don't see a closing a
tag, </a>
<a href="http://facebook.com/nickpettit"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>
Ricardo Hill-Henry
38,442 PointsLinks are opened and closed like so, <a href=""></a>. The text, or html elements that you want the link to be applied to should go between the opening and closing a tags. Some other mistakes are:
- You forgot the closing quotation for your href
<a href="http://facebook.com/nickpettit"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>
Go ahead and do the same for your Twitter account.