Problem with the adding alt function

Tell us what’s happening:

Your code so far


<img src="https://s3.amazonaws.com/freecodecamp/relaxing-cat.jpg" alt= "cat" />

<h2>CatPhotoApp</h2>
<main>

<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

Hello!

The URL you should use is:

https://bit.ly/fcc-relaxing-cat

Why do you use s3.amazonaws.com?

1 Like

The bitly link redirects to that link. I suppose he tried to check the image.

1 Like

I see!

Thanks very much!

But the question is and the code works without any problems under this conditions:

Now set the src attribute so that it points to this url:

https://bit.ly/fcc-relaxing-cat

1 Like

Hi,
when trying to paste in the browser the link https://bit.ly/fcc-relaxing-cat, i was redirected to the URLhttps://s3.amazonaws.com/freecodecamp/relaxing-cat.jpg

does it make any difference ?

Hi again,

it seems that it does make difference
Thank you!!!

1 Like

Hi!

Computers do not think! If they expect that you enter X and you enter Y a problem occurs.
But I do not understand why you was redirected? I did the same way and had not that problem.
However the important is that you have found the solution.