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
Daniel Hunter
7,349 PointsClosed anchor doesn't allow picture to be clickable.
When I add the code below while closing the <a> tag it doesn't allow the picture to be clickable. When I leave </a> off as I did here, the image can then be clicked and opens up in a new window.
<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p>Experimintaion with color and texture.</p>
</li>
2 Answers
Sean T. Unwin
28,690 PointsAre you putting the closing anchor tag after the </p> so that the image and paragraph are both inside of the anchor?
Daniel Hunter
7,349 PointsAhhh of course... that fixed it. Thanks!