So, there are a few mistakes that you have in your code which you need to fix.
First, let’s focus on specifically the <a> element. You forgot to close the tag! So let’s fix that:
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- Notice on your code right after the .com" on your code there's no > to close the tag -->
<p>Click here to view more <a href="https://catphotos.com"></a></p>
href="https://freecatphotoapp.com">cat photos
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
Then , we remove thehrefoutside of it but replace it in the link like this:
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href="https://freecatphotoapp.com"></a></p>
cat photos
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
And finally, we move the cat photos text into the <a> tag. It should look like this:
Mod Edit: SOLUTION REMOVED
There you go! Paste the example above and it should work.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.