Basic HTML and HTML5: Add Images to Your Website is not working

Tell us what’s happening:
It keeps telling me that my image should have a src attribute that points to the image…

The directions of my challenge:

Within the existing main element, insert an img element before the existing p elements.

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

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

Your code so far


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

<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_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

it should have an anchor (a) attached to the (a img src) that should fix it

1 Like

The link you typed has “http” in it, while the link the software expects contains “https”. That’s the issue.

1 Like

Thank you! I figured it was something so simple, I just kept looking past it

i think this doesn’t make problem
because i have run the same code and it worked for me
here is the code

CatPhotoApp

kitten image.

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.