Adding image to your website- Help

Tell us what’s happening:
I wrote the right code but its not processing correctly, please help!

Your code so far


<h2>CatPhotoApp</h2>
<main>

<imgscr="https://bit.ly/fcc-relaxing-cat" alt="A 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:

Hey @Fallen,

Welcome to the forum!

There should be a space between <img and src

This should have been <img src=..


There’s a typo in src,

Good Luck :blush:

1 Like

But then, the scr turns red. And alt doesn’t work, I tried everything, even watching the guide video but it just doesn’t want to work.

Try copy pasting this code:

<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."> 

Let me know if this worked.

It worked, thank you !

1 Like