Set the image attribute to point to the image

Tell us what’s happening:
hello guys how can i make my image have a scr attribute to point to the cat i

Your code so far


<img scr="https://bit.ly/fcc-relaxing-cat.jpg" alt="a cat relaxing"><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>

Your browser information:

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

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

It’s src, not scr.

thanks but its still failing

how can i make the attribute point the kitten image

I don’t see the .jpg extension according to the link you gave. Try this:

src = "https://bit.ly/fcc-relaxing-cat"

Hi @stella27 :grinning:

Wrong syntax -

<img scr="https://bit.ly/fcc-relaxing-cat.jpg" alt="a cat relaxing">

please remove .jpg extension from img element.

Right syntax -

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

waw thanks guys it worked out well