I need help on the image html thing

I dont understand how to pass this lesson and i need help to figure out what im doing wrong.

<h2>CatPhotoApp</h2> <img 
<img src="https://www.alleycat.org/wp-content/uploads/2021/02/344x361_FoundACat.jpg" alt="A cute yellow eyed cat.">
<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.

Challenge: Add Images to Your Website

Link to the challenge:

You have two issues.

First, it looks like you started to put in an img here and then stopped:

<h2>CatPhotoApp</h2> <img 

You started but didn’t finish. Since you never closed that tag, it is screwing up the parsing - notice above that the coloring for “<main>” is off.

Secondly, you are not using the src that the description asked for.

When I fix those two things, your code passes for me.

1 Like

what do you mean by im not using the src?

I didn’t say that you are “not using the src”. I said “you are not using the src that the description asked for.”

The description told you exactly what src (source) to use:

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

That is not what you are using.

Ive been stuck on this one for almost 5 days thank you.

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