Tell us what’s happening:
Describe your issue in detail here.
I’ve been struggling with this issue for an entire day since yesterday. I just do not understand. Sometimes I am told to have only one opening on the anchor, which I believe I already have. I have tried the ‘target’ function which seems correct, but of course I am unsure about that as well. Can someone please direct me where the issue is on this code? Thank you.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 14
You didn’t close your “a” element, please be advised how html tags work, they have opening and closing tags except some of them which you will be familiar with them a bit later like “input” or " meta" tags.
I have tried this previously and it seems to nullify the href. As soon as > is added, it shows the code on the screen, instead of the picture.
Thanks again for the help.