Can anyone tell me what is wrong in this 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>
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="kitten">
</main>

  **Your browser information:**

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

Challenge: Add Images to Your Website

Link to the challenge:

Task:
Within the existing main element, insert an img element before the existing p elements.

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

1 Like

Hi there!
The src attribute in <img> should be set to the url in the task:

Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Make sure to wrap it in quotes :wink:

1 Like

Thank you, I got the solution.
I was using the wrong url link in img element :sweat_smile:

Thank you, tori-pak.
I got the solution :blush:

1 Like

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