What is src attribute

Tell us what’s happening: how can i put src attribute here , i am typing src again and again and how to type src

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hey @Madhur_861

You missed a " > " after

cat"

And the way you typed src attribute is correct.

Cheers

1 Like