HTML "Your image element's alt attribute should not be empty."

Tell us what’s happening:

Where am I going wrong?
It keeps on saying “Your image element’s alt attribute should not be empty.”

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="https://bit.ly/fcc-relaxing-cat"> alt="Relaxing cat"/>

<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

remove the closing tag before the alt attribute

1 Like

Done! And it worked! Thank you very much. This is my 2nd day in Coding and I hope I get help like you when I need it. :slight_smile:

1 Like