Ok so when i tried to but an alt attribute it just counts it as wrong

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

  **Your code so far**


<img src=https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg>

<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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14526.57.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.64 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:


Where did you add the alt attribute in your code? The code you have does not include an alt attribute.

1 Like

Probably a good idea to show how you added the alt attribute to your code. The shown code above has no alt at all which creates a “not passed” (like nhcarrigan already wrote).

And remember that the values for those attributes have to be in quotes. Consider the example you were given:

  alt="A business cat wearing a necktie."

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