Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Hey, currently I’m stuck on section 15 I keep getting the error message that I have an extra opening anchor tag. Does anyone see where I’m messing up?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

       <a href="https://freecatphotoapp.com"> <img src= "https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"</a> <alt="A cute orange cat lying on its back.">

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

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

Link to the challenge:

You are missing the ending > for your img before the closing anchor tag </a>

I see you have a > at the end of your alt, but the alt needs to come before your closing anchor tag. So you can remove the > at the very end, move the alt to be before the closing anchor tag, and then add the closing > before the closing anchor tag and after the alt

Wow! Thank you so much

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.