Please help - My image isn't loading

Hi all

This is my first attempt at coding and I am getting a bit confused.

I am stuck on the Basic HTML and HTML5: Add Images to Your Website module and need some assistance. For whatever reason the image does not want to load. I get a tick on the following:-
Your Page should have an image element
Your image element’s alt attribute should not be empty

However, I can’t seem to pass the “Your image should have a src attribute that points to the kitten image”

Your code so far


<h2>CatPhotoApp</h2>
<main>

<img scr="https://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 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

You have a slight typo that is causing your error. :slight_smile:

Thank you nhcarrigan. You are a lifesaver. It was doing my head in. I hope all my coding queries are this simple to solve

1 Like

It happens to me all the time. :sweat_smile: