Src attribute in HTML

Tell us what’s happening:
It keeps telling me to add the src attribute after I’ve typed it in.

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img 
src="http://bit.ly/fcc-relaxing-cat"alt="fcc-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 (iPhone; CPU iPhone OS 14_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1.

Challenge: Add Images to Your Website

Link to the challenge:

you are missing the > for your image element, and also you are missing a letter in the src, it should be https://bit.ly/fcc-relaxing-cat

1 Like