Add src attribute that points to image

Add src attribute that points to image
0

HELP in adding src attribute that points to image

Your code so far


<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>
<img src="https://www.bit.ly/fcc-relaxing-cat.com/fcc-relaxing-cat.jpg" alt="autor standing on a beach with two thumbs up.">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

you need to use the given url, not the one invented by yourself

The link should be:

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

not

https://www.bit.ly/fcc-relaxing-cat.com/fcc-relaxing-cat.jpg

I hope i could help without destroying the effect of the exercise

i dont know whats wrong pleas help i ve been in this for almost a month

Your code so far


<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>
<img src="https://bit.ly/fcc-relaxing-cat.jpg" alt="Autor standing on a beach with two thumbs up".>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

Why do you have .jpg in the src for the image. Just copy the url they give you and it should work fine.

1 Like

You ask yesterday, i answer yesterday:

Find it here:

Please do not create multiple topics for the same question. I have merged your topics.

Thank you so much I’ve been in this for almost a month

how did you fix it cause im having the exact problem