I keep putting the alt attribute for the code but it says it isn't there

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>


<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>

<img src= https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg alt= A relaxing cat.>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

Challenge: Add Images to Your Website

Link to the challenge:

The values for HTML attributes have to be wrapped in quotes ("). Notice the example you are given.

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

I added space for readability, but HTML doesn’t care about that. But it does care about quotes.

1 Like

thanks funny enough I just noticed that seconds before you replied lol I appreciate your help

1 Like

Yup, happens all the time to me, too. In fact, sometimes, I think just trying to formulate the question helps.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.