Please what is wrong with this code? I’m getting stuck here, wants me to add the image without leaving the alt space open but I don’t know where’s the alt spac

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

   **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src=''https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpga alt
 <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 (iPhone; CPU iPhone OS 15_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Mobile/15E148 Safari/604.1

Challenge: Add Images to Your Website

Link to the challenge:

@Spaco first, delete the ‘’ between src= https… .
Second, u must close the <img src with “>
Then, set an alt.

Example:
alt="Set the alt!"

1 Like

use src =“url de l’ image” alt=“description de l’image”
fermez la balise img

@elsimetchami english, fraçois or español ?

My english 's not good .

Ah ok… sorry.
You can use Google Translate

your image coding is not right. img is self closing element. also, src attribute must end with ". set yor alt also

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