Hello I am Hanan and i want to know what is wrong with src attribute

Tell us what’s happening:

Your code so far

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

 <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>

Your browser information:

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

Challenge: Add Images to Your Website

Link to the challenge:

The image src URL is not quite what it should be. One thing you will learn very quickly is that you must do exactly what the instructions ask.

Hi welocme to FCC. You are missing an s. http is supposed to be https

1 Like

Also try to space your codes properly. I think there should be space between the ‘img src’ and the ‘alt’ attributes. In cases where you are dealing with older versions of browser, you may encounter some difficulty.
Anyways that’s secondary, the main issue should be from what bbsmooth replied.

img doesnt have a closing tag

@smeholli12, img is self closing. there is no closing tag.
The correct response has been give more than once.

is the right tag