Hey im trying to complete this step - I’ve gotten to this which i think should be correct?
I’d appreciate it if anyone could help me out
<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>
<a href="https://freecatphotoapp.com">
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
</a>
<!-- User Editable Region -->
</main>
</body>
</html>
) element should have an opening tag. Opening tags have this syntax:
<elementName>
. You are missing a closing (
a
) tag after the image. 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. Your anchor (
a
) element should link to
https://freecatphotoapp.com
. You have either omitted the URL or have a typo. // tests completed // console output [TypeError: Cannot read properties of undefined (reading ‘getAttribute’)]
This is the error code which i get when i try and progress.