**Hey guys! I am stuck in my practicing. The system says " Your anchor ( a ) element should have an opening tag. Opening tags have this syntax: <elementName> ."
Anyone could help me out? Thanks**
My code:
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> <a href="https://freecatphotoapp.com" target="_blank" >
</main></a></p>
</body>
</html>
**Challenge: Step 14**
**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-14
Firstly, you don’t need to move code in these lessons outside of the highlighted box. I’ve noticed you have put the anchor and paragraph ending tags after the main tag—this is incorrect and I advise you restart the lesson.
Secondly, you haven’t formatted this correctly. It wants you to wrap the link around the image. Think back to how you put the text inside the link in step 12, and how this made the text into a link.
<a href=“example.com”> text</a>
You need to do the same thing, but instead of text, put the image element.
There is a small thing to change: first you open a new anchor tag, then after the tag goes the link to the image, finally you close the anchor tag. Right now the image goes first, then the anchor tag is opened - the image has to be between to become clickable and lead somewhere.