I need help . I dont know how to put the alt in to get it to work!

Tell us what’s happening:
Describe your issue in detail here.
I cannot figure out how to put the alt in.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src=https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg alt=>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 (X11; CrOS x86_64 14268.67.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.111 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


You need quotes around the value (the url) here, and you need to make the same change for the alt attribute.

Nvm, I finally got it. Thanks!!

you have to do a few things to fix it. put double parathensis around link then also around alt text. also closing self closing tag at end >

1 Like

I think you mean ‘double quotes’.

1 Like

Ok, thank you very much!

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