Tell us what’s happening:
I’ve been getting this error message “Your anchor (a) element should have an opening tag. Opening tags have this syntax: .” and I’ve tried everything I could think of. But still don’t know what am doing wrong
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more cat photos in our gallery.</p>
<ahref='https://freedmcodecamp.org'></a>
<!-- User Editable Region -->
<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>
Your browser information:
User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Mobile/15E148 Safari/604.1
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 10