Learn HTML by Building a Cat Photo App - Step 15

The cat image is showing up connected to a link, but its saying that I dont have a closing anchor? Thanks for any help

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

      <a href='https://freecatphotoapp.com'</a><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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

You have modified your code. Reset your challenge and add anchor opening and closing tags around img element.
Example

<a attribute="value"><img></a>
2 Likes

thankyou so much for the help!

1 Like

Your most welcome. Happy Coding!

1 Like

well i have the same problem it says i have a typo or omitted a URL

what is your code now?

Hi @joshbailey ,
Here what to do:

  1. Move the closing of anchor tag from where it is currently to the end of the img tag. Let closing anchor tag, that is </a> be the last thing in this task.

:+1: Happy coding.

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