Your image should have a src attribute that points to the kitten image.- Help

Tell us what’s happening:
I did everythin corect even i watched the video tutorial many times but i can’t see why the sistem give me that error:Your imd have a src attribute that points to the kitten image. I can see the picture in my running test. I also have src attribute and i don’t understand where is the problem.Pls help
Your code so far


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

<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/88.0.4324.190 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

You should be using https not http

Hello Dear,

Run this code! Tell me if it helps you :slight_smile:

The reason why your code is not running because you wrote the “img” code above the “h2” and “main” codes. Write the “img” code after the “h2” and the opening code of “main”.

> <h2>CatPhotoApp</h2>
> <main>
> 
> <img src="https://bit.ly/fcc-relaxing-cat" alt="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>

thank you so much,that was the problem

I have tryed that method before but wasn`t that. At last the problem is resolved -it was what MrBondx said -https not http. Thank you anyway :slight_smile:

1 Like