Hello i dont know what am doing wrong.please help

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<img src ="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg alt="
<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 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0

Challenge: Add Images to Your Website

Link to the challenge:

You are almost there.

The src and alt attributes need to be separate and have their own opening and closing quotes for their values. And you need a closing bracket (>) for the img.

The example they give you is this:

<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

If I spread that out a little for readability, I get this:


<img 
  src="https://www.freecatphotoapp.com/your-image.jpg"
  alt="A business cat wearing a necktie."
>

You need to match that format, but use your src and alt values. You don’t need to spread it into 4 lines like that, but sometimes it makes it easier to read.

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