Alt attribute needed

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src=https://www.bit.ly/fcc-relaxing-cat
alt=a business cat wearing a necktie>
<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 (Linux; Android 8.1.0; vivo 1816) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

The src and alt attribute are missing quotation marks. (" ")
You should add quotation marks for both, like this for example:

<img src="" alt="">

<img src=https://www.bit.ly/fcc-relaxing-cat alt=a business cat wearing a necktie>

Use quotation marks

Wrap this link in quotes " "

Wrap this one too in quotes.

Your structure should look like this:

<img src="" alt="">
1 Like

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