Turning image to link bug - lesson 15

 <a href="https://freecatphotoapp.com"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

This is the code on stage 15, and this is the error message:

Sorry, your code does not pass. Keep trying.


You should only add one opening anchor (a) tag. Please remove any extras.

When I click on the picture itself on the preview to the right, it tells me it works and leads to the website it tells me to, i’ve disabled all extensions, fresh f5 and still nothing

Please post the full HTML code.

I do not see a closing anchor tag in the code you posted.

1 Like

Where is your closing anchor tag

My god, such a rookie mistake. For some reason I am used to the tags closing themselves with the auto closure feature.

Thank you both.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.