Step 9 alt is confusing

Tell us what’s happening:
Describe your issue in detail here. I’m stuck. I don’t know what’s wrong it says the alt doesn’t exist but also said it has a different value.

  **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 cat photos.</p>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt= "A cute orange cat laying on its back">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

Challenge: Step 9

Link to the challenge:

Close your img element with

<Img/>

it didn’t work but thank you

But why is the img element two

sorry what? Im confused what are you saying

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

You should not have two image elements. Just one.

From your above code you two similar img tags. 1 with an alt attribute another without .

I only have one??? the other one is for the previous challenge

I am looking at the code you pasted above when you created this thread. It clearly has two <img> elements in it. Are you saying that you have removed one of them? And if so, did you leave the one with the alt attribute?

wdym? there is 2 pictures yes but I don’t know how to get it off I guess?

If you are still confused I think the best thing to do here is to restart the step and only add the alt attribute to the existing image. Do not do anything else but this. Do not add any new elements.

I just restarted it so do I just do the alt or?

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

Honestly this should be correct,
Else may be u mispelt a text

<img src=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg” alt=" A cute orange cat lying on its back."
this is what I have now

I think the issue is you misspelt lying
It was laying you used earlier
Just add your closing tag and your good to go

I just tried it and it didn’t work. the closing tag is /> and the end right?

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back>"
this what I have now still doesn’t work

I think your last double quotes may be in the wrong place.

where else can they go?