Your image element's alt attribute should not be empty

Tell us what’s happening:
I dont understand why im still not passing this code. I keep getting this error message.
Your image element’s alt attribute should not be empty. PLEASE HELP!

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="https://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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

Your alt attribute’s value is not surrounded by the proper quotation marks. You can only use straight single or double quotes. You are using curly double quotes.

6 Likes

You’re a lifesaver!!! thank you. That’s literally what it was. I couldn’t figure it out. lol

I am having the same problem only my keyboard does not have any other kind of quotes. It only has “ “ and ‘

There is no option for straight quotation marks.