The logic is correct

Tell us what’s happening:
the program says the alt should not be empty , can anyone tell me what wrong with this alt although isa not empty has the system has said.

Your code so far


<image src="" 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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hi and welcome to the forum.

Your image tag does not match the syntax of the example:

<img src="" alt="Author standing on a beach with two thumbs up.">

thanks for quick response by the way the syntax are the same but is not working , i’ve changed to original example still not working , whats could be the possible error, please let me know.

i found the mistake was : “i shouldn’t write the image but img”

1 Like

Yep, and you have a stray / at the end of the element.

yeah, I had it, the only thing i’ve changed was the image to img, so it worked .