Creating alt Help please

Tell us what’s happening:
I am attempting to add an alt to my code, and it is not running.

This is the code I’m inserting for my alt:
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">


<h2>CatPhotoApp</h2>
<main>

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

<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 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15

Challenge: Add Images to Your Website

Link to the challenge:

This looks like a sample url. You need to use the url from the instructions instead of from the example.

Error: Your image should have a
src
attribute that points to the kitten image.

(The error message I’m receiving)

…did you change the url like I said you should?

I used this one:
src=“https://media.npr.org/assets/img/2021/07/02/cat-5_vert-17a1ba7287ec297ed8739e49c9258bbf2df82104-s1100-c50.jpg” alt=“A Exotic Leapord cat.”

That’s still not the url from the instructions. I have to idea where you got that one.

Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

THWNK YOU APOLOGIES FOR NOT CATCHING THAT APPERCIATE YOUR PATIENTS !

1 Like