Step 14 help (New Responsive Web design)

I nested the img element and it’s attribute inside the anchor tag and it shows that it would functionally work on console but I keep getting “Code does not pass message”

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>
      Click here to view more cat photos
       <a target="_blank" href="https://freecatphotoapp.com"></p> 
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
      </a>




  
  </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/101.0.4951.67 Safari/537.36

Challenge: Step 14

Link to the challenge:

Maybe I’m missing something. It looks like you just tried to extend the existing anchor. You’re supposed to add a new one.

1 Like

Ahh I figured it out, Thanks, I thought we were supposed to use the existing anchor tags and move them.