Stuck here with adding image

I am stuck on this one. I can’t figure out what I am doing wrong. Unfortunately there is no video to explain , On adding picture training i get message Your image element’s alt attribute should not be empty.

  **Your code so far**

<h2>CatPhotoApp</h2>

<main>
<img src= "https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt= >


<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Your image element’s alt attribute is empty currently: alt =

Please put it as alt = “” and put a description of the image within the quotes.

Alt attribute is displayed when the image has a trouble loading. The contents of the alt attribute is also read by screen readers for the visually impaired because they can’t see the image. So leaving it blank is not a good practice unless otherwise if the image is just for decorative purpose and doesn’t add any meaning to the page.

2 Likes