I can't put an image!

I’ve tried and tried to get this to work pls help

  <img src="https://www.bit.ly/fcc-relaxing-cat"alt=relaxing-cat/>

<h2>CatPhotoApp</h2>
<main>
<img scr="https://www.bit.ly/fcc-relaxing-cat" alt="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 (X11; CrOS x86_64 13904.97.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.167 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

When you run the test is says;
Your image should have a src attribute that points to the kitten image.

Looking at your code you have;
<img scr="https://www.bit.ly/fcc-relaxing-cat" alt="fcc-relaxing-cat"/>

so the results of the test is telling you that src != scr

Does that help?

1 Like

You need to declare src="" attribute

how do I do that? I’m really new so thanks for the help

look you have declared scr, but it needs to be src,

Thankyou so much i cant believe it was so simple!

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.