Have a src attribute that points to the kitten image

Tell us what’s happening:

i can’t really understand where I’m going wrong honestly

Your code so far :confused


<h2>CatPhotoApp</h2>
<main>
<img scr="https://www.freecatphotoapp.com/your-image.jpg" alt="https://bit.ly/fcc-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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

The attribute is name “src”.

1 Like

Welcome to the forum

Now set the src attribute so that it points to this url:
https://bit.ly/fcc-relaxing-cat
Finally, don’t forget to give your img element an alt attribute with applicable text.

You need to set the src attribute to the url, not the alt

Hey @reen! You have to change the url of the src="" to the one that you’re given https://bit.ly/fcc-relaxing-cat and add some alt="" text.

sigh right this is stressing me out man

oh crap that was one of the problem that has been solve …is still saying it wrong actually…

Did you switch to the correct url?

Does your url exactly match the one that the challenge gave you? Is the alt text what you supposed to use?

1 Like

well i just did i was doing it a different way …but its still saying that my src should point to the kitten image …

Well, what does your code look like now?

img src=“https;//bit.ly/fcc-relaxing-cat” alt=“relaxing-cat.>”

Your src url is not correct. You probably just want to copy-paste.
It also looks like the closing quote for your alt attribute is outside of the tag.