Tell us what’s happening:
Describe your issue in detail here.
I am trying to make this image linkable but I keep getting the error - and the code seems to be working - what am I doing wrong?
Your anchor (a
) element should have a closing tag. Closing tags have a /
just after the <
character.
**Your code so far**
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more </p>
<a href="https://freecatphotoapp.com"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="the cat" </a>
</main>
```html
CatPhotoApp
Cat Photos
Click here to view more
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="the cat" ``` **Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Challenge: Step 14
Link to the challenge: