Cant pass the text element alt's remain empty

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

   **Your code so far**

<img src=https://www.bit.ly/fcc-relaxing-cat
<alt="Relaxing cat"/>
<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>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

this is your img element
there are a couple of things going on
the values of the attrbutes should be wrapped in quotes
and you have an extra < that you need to remove

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

alt is not a separate element. It is an attribute that should be added to the img element

I’m stuck for hours in that test and i don’t know how to solve that problem please help me …

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

alt is not a seperate element.
your img should have

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