Code for step 9

Tell us what’s happening:
Describe your issue in detail here.

  **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="cat.jpg" alt="A cute orange cat lying on its back">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Safari/537.36

Challenge: Step 9

Link to the challenge:

…?

You added a second <img> and then put the alt text on that. I don’t think the instructions asked you to do that. The instructions asked you to add the alt text to the existing image.

I still don’t understand you

Which part is confusing you. Start with the first part. You should only have one img element. Delete the second one.

The first is for step 8, while the second is for step 9 which i’m getting it difficult to submit

You still should only have one img element. Step 9 is asking you to modify the first img element, not make a brand new one.

Okay, Thank you about that.

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