in need help with step 14

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <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>
   <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="https://freecatphotoapp.com"</a>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 14

Link to the challenge:

I would restart the step to get the original HTML back. You do not want to make any changes to the image at all. The only thing you want to do is wrap it in an anchor tag. You have an example of how to do this with the “cat photos” link in the p element above the image.

thank you
this is so helpful… but i have restart more than i can count still no result. i really need a mentor .

In the code you pasted above you changed the <img> tag. So I would restart the step and try again without changing that tag. You are only adding tags around it, similar to how you added the anchor tags around the words “cat photos” in the <p>. So try again and then if you don’t get it right you can paste your new attempt in here and we can go from there.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

<img href="https://freecatphotoapp.com/curriculum/cat-photo-app/relaxing-cat.jpg" alt="https://freecatphotoapp.com"</a>

Look at the “cat photos” link in the p element. Notice it has both an opening <a> tag and a closing </a> tag. Do you have both around the image? Also, you have modified the <img> tag. You remove the closing > from the tag and you changed the alt attribute. Also, img elements don’t have an href attribute.

Again, I would completely restart this step and only add the anchor tags. Don’t change the img tag.

hello, i have a problem in the same step, this is the code thats givin me problems

i tried and it says its wrong and the hint says "Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> " but i dont get it

I think we need to see all of your HTML in order to help you.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.