I need help with alt code

I tried evry thing for the alt (cute cat, relaxing cat) i just cant figure it out
Your code so far


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

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

Challenge: Add Images to Your Website

Link to the challenge:

Hi
The tag Should be Its Inside The Main The tag

1 Like

Hi! I noticed you have the missing quote for src and alt.
And yeah, img element needs to be inside the main before p element.

1 Like

I don’t understand can you explain it to me

I also put the line of code under Main on top of P

Hi @dawemisra1 !

Welcome to the forum!

You will need to reset the lesson.

The first thing is your <img> tag needs to be inside the main tags.

I wrote a comment here to show you where the img tag needs to go.

<h2>CatPhotoApp</h2>
<main>
<!--image tag goes here-->

  <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>

Once you have the img tag in the right place you need to place quotes around here

and you need to add quotes for the alt tag
alt="this is a cat"

Hope that makes sense!

1 Like

Yeah I got it in passed the challenge thanks1

1 Like

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