It just keeps saying your alt attribute should not be empty , which isnt empty as you can see on the code below . Is there something wrong with my code?

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<image src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="photo of a kitten">

<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 (Linux; Android 11; SM-A115F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.58 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hey there! Welcome to the forums :wave:

It’s rather helpful if you describe your issue here. Then you can also have a shorter title which would help other users find your post via the search bar :slightly_smiling_face:


Check the tag you’re using, <image> vs <img>.
I wasn’t aware that <image> is a valid tag, and I’m not sure if that it’s acceptable by HTML5 standards, or just an old tag that’s still supported. In either case the browser seems to be able to render it, but the lesson can’t accept it.

Owww tnx , all my focus was on the alt part , i didnt even notice this one .

1 Like

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