Alt attribute empty? help pls

Tell us what’s happening:
I can’t see why it says the alt attribute is missing
Your code so far


<h2>CatPhotoApp</h2>
<main>

<img src =https://bit.ly/fcc-relaxing-cat>alt= "a relaxing cat ">   
https://bit.ly/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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15.

Challenge: Add Images to Your Website

Link to the challenge:

You have your image closing tag after your url. It should come after the alt tag. And your url should be in quotations. Like this:

<img src ="https://bit.ly/fcc-relaxing-cat" alt= "a relaxing cat ">   
https://bit.ly/fcc-relaxing-cat
1 Like

Thank you so much! It just worked

Glad I could be of help :slight_smile: make sure you mark the solution so the topic can be closed :slight_smile:

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