Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.
I got stuck on step 15, the hint said.
But I’ve double checked, it’s only one opening anchor

You should only add one opening anchor (a) tag. Please remove any extras.

Your code so far

   <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"</a>

can anyone tell me why?

Yeah, the error message is a little misleading. You forgot to close your image tag

how to close the image tag? is it not self-closed?

a self closing tag just means that you dont need a copy of it at the end. a normal tag looks like this: <body></body>
It has two sets of angles, two copies of the element name, and the closing tag has a backslash.
a self closing tag looks like this: <meta> Just one element name inside the angles
Basically what I’m saying is, you still have to put the ending > bracket on a self closing tag. That’s what’s missing for you there

1 Like

I see, and it works.
thank you so much for solving the problem.

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