Need help about src attribute

Tell us what’s happening:

Hi everyone. I’m having a bit of difficulty here. This notification keeps showing up “Your image should have a src attribute that points to the kitten image”. What should I do? The kitten image already shows up on my page. Thanks a bunch!

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="https:///bit.ly/fcc-relaxing-cat" alt="A 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 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

Hi @Fiyona. The reason is just a typo. Notice that you have three forward slashes (/) in the URL:

It should be only two!

Happy Non-Stuck Coding!

1 Like

Are you sure that is correct?

1 Like

Why did I miss that? lol Coding really needs to put attention to details. Thanks a lot @paulsonstech

1 Like

I put three forward slashes in the URL. My bad lol Thanks @nibble

1 Like

Just copy and paste URLs. There is nothing to be learned from typing a URL.

2 Likes

Of course! You need to be extra careful when coding. Sometimes a little typo can make your project go wrong!

That’s what you need to do.

Noted. I’ll keep that in mind. Thanks for your suggestion.