It's not wrong, why is it saying it is?

Tell us what’s happening:
My src code is pointing at the img location and it’s telling me it’s not.

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="http://bit.ly/fcc-relaxing-cat" alt="Relaxing cat"/>

<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 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

What error message are you getting?

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

1 Like

You didn’t exactly copy the provided url.

**

CatPhotoApp

Relaxing Cat

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

**

you have been putting /> in the end of the alt attribute that’s why it wrong you don’t have to use / in img

1 Like

happens with and without

Please post your updated code showing the correct closing of the img tag.
Also make sure you copy the URL correctly. There is a difference between the http protocol and the https protocol.

Also, what browser are you using? Have you tried using a different one?