Relaxing cat src attribute

Tell us what’s happening:
Code isn’t working.

Your code so far
Relaxing cat



<img src="http://bit.ly/fcc-relaxing-cat" alt="Cat Relaxing"/>
<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.104 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Your src link is incorrect. Fix it.

You end the img tag with />

It should be just >

I tried > instead of />
didnt work

You can actually close an image tag like that.
<img></img> or <img/>, both correct.

Your tag closing is correct. You typed http instead https in your src link.

im a whole goof lol thank you

1 Like

You can try it yourself in the test:

<img src="https://bit.ly/fcc-relaxing-cat" alt="relaxing cat"/>
1 Like

Thanks, for your info. i am new to html so I tend to stick to the text in the curriculum.

1 Like