Step 15 issue with closing (a) tag

Hi all, I am attempting to solve step 15 off the CatPhoto project.

The prompt is:

In previous steps you used an anchor element to turn text into a link. Other types of content can also be turned into a link by wrapping it in anchor tags.

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

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

It says that I am missing a closing tag, but I thought what I have at the end is the closing tag. May I please have help

Thanks in advance

Hi all, I just fixed it and realized I placed the / after the a instead of before.

Cheers,
Conor

4 Likes

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