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!
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

Judy Minzberg
783 Pointsanchor element around img
I replaced my <h1> element in the header with an image but now when I click on the image it doesn't take me to index.html anymore.
As you can see, I have placed an anchor element around the image:
<a href="indext.html" id="logo">
<img src="Jayelle/Jayelle (1).png">
</a>
when I click on the image, It is redirected to a 404 Image Not Found page.
2 Answers

Shawn Jones
15,579 PointsI can't see any of your code, could you send a link or mark it up here so we can see what's up?

Aimee Ault
29,193 PointsHi Judy,
I noticed you have a typo in your anchor tag... it seems to be pointing to indext.html instead of index.html--guessing that might be the cause of your problems!