Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
I keep being told to only have one opening anchor and I thought thats what I have with <a href…

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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>
      <a 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>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:

Remember, the anchor element has both and opening and closing a tag. Do you have both for the image?

hello and welcome to fcc forum :slight_smile:

  • note your “anchor” tag in “p” element and then compare it with your following “a” tag

address that change and it should be alright, happy learning :slight_smile:

Got it, thanks so much!