I dont know how to do the alt attribute

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

  **Your code so far**
  i

<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>
<img src=https://www.bit.ly/fcc-relaxing-cat alt = relaxing cat
<main/>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hey!
You are not closing the alt and link with a ""
For example;

alt="cat photo"
1 Like

src=“https://www.bit.ly/fcc-relaxing-cat” alt = “relaxing cat”

The src and alt attributes like link and text would need to be inside of single or double quotation marks. This is the way computer distinguishes the start and end of a link or text.

1 Like

Yes I think Rohan is right. Try that. :smiley: :smiley:

To Kaushik: :+1: :+1: :+1: :grinning:

1 Like

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