Learn HTML by Building a Cat Photo App - Step 22

i just can’t find th eimg element that is suppose to be inputed:
Describe your issue in detail here.

Your code so far

        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>

<!-- User Editable Region -->

          <li>cat nip</li>
          <li>laser pointers</li>
        <a href:"https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasangna.jpg"<alt="A slice of lasangna on a plate"</a><img

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

Challenge: Learn HTML by Building a Cat Photo App - Step 22

Link to the challenge:

You are only supposed to add an img element, not an anchor element, so get rid of the opening and closing a tags around the img you added. Remember, an img element does not have a closing tag because you can’t put any content, such as text or other elements inside of it.

You added the src attribute to the img correctly. Add the alt attribute the same way.

Still don’t get it can u please send in the written code already?

We don’t give out answers here. We try to help you find the answer for yourself.

I would reset the step to get the original HTML back. Then, only add an img tag below the list with the src and alt attributes as specified by the instructions.

You have already added an image in a previous step. You can look back at that one to see how it is done. The only difference with that one is that you also wrapped it in an anchor element to turn it into a link. You don’t want to do that here. You just want to add the img element and nothing else.

Thanks so much i appreciate it. I’ll reset the lesson as you say…

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