I honestly don't know what I've been doing wrong. its saying my alt is empty

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

  **Your code so far**

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"alt src="The cat is laying upside down.">
<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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15

Challenge: Add Images to Your Website

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

This is not valid syntax for adding an alt attribute.

<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

So I do not need to add src after alt? or am I just writing the wrong sentence?

I don’t see alt src= in the example. I’m not exactly sure what that syntax means.

alt= sets the value for the alt attribute. src= sets the value for the src attribute. somefancyattribute= sets the value for the somefancyattribute attribute.

Thank you. I’m just very new to this. I’m a quick learner.

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