HTML coding trainnig, alt attribute is not empty, but could not pass

Tell us what’s happening: alt attribute is not empty, but could not pass.

Your code so far


<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>
<image src= "" alt="relaxing-cat">
<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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Your code:

<image src= "" alt="relaxing-cat">

The HTML image element is:

<img src="..." alt="...">

Why is it keep saying “…shouldn’t be empty…” while it is not?

it’s checking if the img element has an alt attrbute, but if the img element is not present it also gives that error

Thank you. But the image is there, and because the instruction says the alt attribute should not be empty, I made sure that I gave the name"relaxing cat". I don’t know what is wrong. I am stuck.

The image is not there because you are using <image> instead of the proper tag <img>. <image> is not a valid HTML tag.