Tell us what’s happening:
Iam constantly receiving this area message but can not figure out why i have to remove closing tags. as i have removed and replaced over and over please help
here is the error message i constanly receive.
" You should only add one opening anchor (a) tag. Please remove any extras. Your anchor (a) element should have a closing tag. Closing tags have a/ just after the < character. You should only add one closing anchor (a) tag. Please remove any extras. // tests completed // console output [TypeError: Cannot read properties of null (reading ‘length’)] [TypeError: Cannot read properties of null (reading ‘length’)]"
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more</p>
<a target="_blank" href="https://freecatphotoapp.com"/>
<p>cat photos in our gallery.</p>
<!-- 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."/>
<a href="https://freecatphotoapp.com" />
<!-- 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/113.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 15
Link to the challenge: