What am doing wrong? It tells me: Hint You should only add one opening anchor (a) tag. Please remove any extras

Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor’s href attribute value.
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-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."> 
      <a/>

Please show us your code and also provide the link to the challenge.
You can add code in your message in this way:

Thank you. I fixed the post so you can now see the code and challenge link.

Check this! You are not closing the anchor tag properly.

OK. I don’t know how it is wrong. I have the closing anchor at the end.

We don’t represent closing tag in that way.
This is how we open and close a tag.

<p> </p>

OMG! Such a simple thing that I didn’t recognize. Thank you so much!

1 Like

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