Learn HTML by Building a Cat Photo App - Step 15

So, here’s what I got so far. It says I’m almost there but I have too many opening anchor tags.

<a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."</a>

Every tag must have < and >

You must not delete the > for the img tag

Ok. Code still isn’t passing.

Ok. Again, if you don’t post your code, we cannot possibly guess at what is wrong with it.

It’s the same code listed above but I added to the code

Right here, you are missing the > after the double quotes

Please actually post the code. Please don’t make it harder for people to help you.

a href="https://freecatphotoapp.com"><img>src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."</a>

You have lost a few more brackets…
What is happening on your end?

Why did you delete more things? My suggestion was that you stop deleting things that are needed?

This is mostly right, but you need to make sure that every single tag has both < and >. Delete nothing from this version. Only add back a >

It’s still not passing.

<a> href="https://freecatphotoapp.com"><img>src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."</a>

Do not stick < and > everywhere you can think of.

You must not put the attributes outside of the tags. You have done that on none of the previous steps.

This is a correct tag with an attribute.

This is a correct closing tag.

Only add back a single (one, 1) >

Okay no problem.
Do you see how that line starts?
<a>

There is a problem with this because before you close the tag with the > you need all the other attributes the anchor is defining like href in this case.

So let’s put the anchor tag back the way it was before.

When you do that. Show me the code again and I will help you.

Thanks ok here it is.

<a href="https://freecatphotoapp.com"><img>src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"alt="A cute orange cat lying on its back."</a>

Your src and alt attributes are abandoned outside of a tag, after the >. Attributes must come before you close a tag with >

can you show me an example of what you mean?

I did, right here.

You are doing great. Jeremy’s trying to help you so just pay attention now.

Right here. The tag <img> needs the rest of the information it had before about where to find the picture.

So we want to fix this part to look like it did at the beginning:

But just put one small thing at the end of this specific part which is the >

I added more <> but it’s still not passing.

<a href="https://freecatphotoapp.com"><img>src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"><alt>="A cute orange cat lying on its back.>"</a>