Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
So it is showing me on the preview that my link is attached to the photo, but its also saying that i have an extra opening anchor(a) tag. Any suggestions on which direction I need to go?

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."</a>
    </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:

You are missing a > at the end.

I have the closing anchor tag after alt=“A cute orange cat lying on its back.”

The syntax of img tag should be like this <img>

Got it, I appreciate your help!

1 Like