Tell us what’s happening:
Hii I’m trying to add a target attribute to my code but it’s keeps telling me “Your anchor (a) element does not have a target attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names”
I’m stuck here, please help.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p> Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running -cats.jgp" target="_blank">cute cats</a> online! </p>
<!-- User Editable Region -->
<p>See more <a href="https://freecatphotoapp.com">cat photos</a> 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.">
</main>
</body>
</html>
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 15