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.
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.
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.
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.