Having trouble with question 14 on the cat app

Tell us what’s happening:
I have tried many different combinations but I keep getting the error message “You should only add one opening anchor (a) tag. Please remove any extras”. Any help would be appreciated thanks.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
    <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/>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14588.123.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 14

Link to the challenge:

anchor has a closing tag and a text to appear as link in blue

wrap the img tag around between anchor opening and closing tags

Thanks for the response! I’m new to coding and I still can not figure it out. Can you provide an example

like this for example <a href="something"><img src="something" /></a>

I tried the method you showed but still to no avail. I have been working on this question for 2 days and still can not figure it out. I only have an opening and closing anchor.

you have mistake in closing tag should be </a> not <a/>

You copy paste your code here in editor in between three backtics on seperate lines like this
your code
backtic key is near key 1

Thank you so much! It was the typo indeed that was the issue.

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