I think I have written my code correctly but the error says :
1.Sorry, your code does not pass. You’re getting there.
2. Your anchor (a) element should have an opening tag. Opening tags have this syntax: <elementName>"
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- User Editable Region -->
<!-- TODO: Add link to cat photos -->
<a href="https://freecatphotoapp.com">
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="a photo of a cat."
</a>
<!-- User Editable Region -->
</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/129.0.0.0 Safari/537.36 Edg/129.0.0.0
Hello @Jaack !
Your anchor tag has no problem but your image has. You modified the alt text. Please, do not change what you’re not asked to, you’ll run into more problems. Restore the original text.