Learn HTML by Building a Cat Photo App - Step 15

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

 <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

                                                                                                                    
                                                                                                                    
                <img><a href="https://freecatphoto.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"><a alt="A cute orange cat lying on its back."</a></img>

without the full description I can’t figure out what it is about.
but as far as I can see you have two img elements and only one closing tag
if you can upload the whole image

Hi, sunnyscissorhand

Please explain in detail what the problem is so that we can be able to help. attach your code and a link to the exercise.

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

Restart the step. Your task is to surround the existing ‘img’ element with anchor tags ‘a’:

<a href="URL"><img src="URL"></a>

This is just guidance.

URL which goes in the opening ‘a’ tag is https://freecatphotoapp.com


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

You mispelled the attribute name href

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 (').