Hi how do i create the src and alt attributes in this part? I've tried everything i could think of but those two boxes still srent checked

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">

<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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Welcome to the forum.

This is the example:

  alt="A business cat wearing a necktie."

This is what you have:


(I’ve added in some line breaks and spaces for readability, but those don’t affect anything. And of course the URL is different.)

And this is the failing test message:

Your image element’s alt attribute should not be empty.

And these were the instructions:

… Finally, don’t forget to give your img element an alt attribute with applicable text.

I feel like there is enough information here to figure this out. Is there something that isn’t clear?

I have done everything you did, and it tells me Your image should have a src attribute that points to the kitten image.

Please provide a copy of your current code.

1 Like

oh, I did it, thanks!

I was putting the image of the cat with the tie, I didn’t read it very well, Thank you man!

Thanks I figured it out as I only checked my emails now

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