Learn HTML by Building a Cat Photo App - Step 9

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

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

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

<!-- User Editable Region -->

    </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/16.3 Safari/605.1.15

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

Link to the challenge:

So I am little bit stuck after adding my alt as it is saying that img does not have alt

Welcome to the community.

The alt is to be entered within the img element after the final quotation marks at the very end before the > .

I hope this helps you. Happy coding! :slight_smile:

1 Like

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