I can't add image. It is showing error in src part

Tell us what’s happening:
Describe your issue in detail here.
I am unable to add a picture . Its showing error in src part. Kindly please check.

  **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 (Linux; Android 10; M2004J19C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.48 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

The quotes are wrong (smart quotes instead of dumb quotes) but that might just be a cut and paste thing. Even fixing those, it still fails. That’s because that is not the url you were told to use for the src.

When I fix that, it passes for me.

Looks like the img tag is missing the closing bracket (<img src="" alt="" />)

1 Like