How do I do alt code?

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

  **Your code so far**

<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>
<img src=https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg>
  **Your browser information:**

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

Challenge: Add Images to Your Website

Link to the challenge:

  • Fix src attribute with src="" not src=
  • Here’s the attribute you requested alt=""

any attributes should be inside the HTML tag

for example you can see this code to know how to used it
<img src="" alt="">

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