Free Cat Photo App problem step 17

Hey there!
I have a problem with stage 17 of the Cat Photo App, basically my code is this;

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

And the question is;

Step 17

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.

Here is an example of turning an image into a link:

Example Code

<a href="example-link">
  <img src="image-link.jpg" alt="A photo of a cat.">
</a>

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

Can anyone please give me the correct code?

Hi there and welcome to our community!

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Your code looks ok to me, but there may be an error in some other part of your code. Have you tried hitting the Reset button and then pasting the code in again?

Hey, yes I did reset the page, idu the problem!

Hi there!

Copy and paste your full html file here from the challenge editor. Use three back ticks (```) on a separate line before and after your code here in your reply.