Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

Step 15: Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor’s href attribute value.

Please tell me where’s the mistake. I think I put the tags in the right place.

The hint says that the anchor (a) element should have an opening tag.
Your code so far

 <a target="_blank" 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."></a>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:

Your code passes for me. Perhaps there’s some other stray tags elsewhere in your code or something?

Thank you for your answer. Mhm I don’t think to have forgotten anything…I’m stuck at this point.

this should pass, could you post the full html code?

Yes, if there’s a stray tag elsewhere in the code for instance, that would prevent the challenge from passing.

Hi guys, thank you for trying to help me. I tried and switched from google chrome to safari and it just worked! The code passed right away :confused:

Any possible explanation for the issue?

Browser extensions most likely the issue.

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