Hello! I’m having some difficultly with step 14 so any help or advice on what I’m doing wrong would be much appreciated!
-
The hint says "your anchor (
a
) element should have an opening tag. Opening tags have this syntax:<elementName>
" but I’ve included this already.
Am I putting it in the wrong place? Where should this go? Or is this because I’ve put href=“https://freecatphotoapp.com” in between it? -
Where should I put the href=“https://freecatphotoapp.com” if not between the element tag?
Thank you in advance!
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
<elementName href="https://freecatphotoapp.com"> <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>