Tell us what’s happening:
My (a) element should have a closing tag. Closing tags have a / just after the < character. However im not quite where it needs to be written.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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"
</main>
</body>
</html>
Your mobile information:
SM-G998B - Android 13 - Android SDK 33
Challenge: Learn HTML by Building a Cat Photo App - Step 15
you’re right about the anchor element needing a closing tag. try looking at a previous anchor you’ve used for the ‘cat photos’ text and apply this to your img element.
you’re pretty close to the answer in your original post. You’re trying to surround the img element with an anchor(a). use this as an example: <a href="www.freecatphotos.com">freecatphotos</a>
think about where you’re image element needs to be in relation to your anchors