How to set src attribute

**Hi please help, my task is to set the src attribute to point to this url:

when I run it, I get this error msg { your img should have a src attribute that points to the kitten image , and image element’s alt attribute should not be empty

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="https://www.freecatphotoapp.com/your-image.jpg"alt"A business cat wearing a necktie.">


 <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>
<img src="https://bit.ly/fcc-relaxing-cat"alt"fcc-relaxing-cat">

 <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/85.0.4183.102 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

you have two different img elements, that is confusing the tests, delete one and try again

2 Likes

You also are not setting the alt attribute correctly.

1 Like

You’re missing an equal (=) sign in the alt attribute.