HTML - Converting an image to a link / opening tags?

I’m being told that my anchor element should have an opening tag. I’m stumped because I don’t understand what opening tag to which the hint is referring. I’ve searched online for examples of how to convert an image to a link and example syntax has an identical layout.

I was to believe that my opening tag is

Click here to view more cat photos

. What am I missing here? Any help/tips would be greatly appreciated!

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <p>Click here to view more cat photos</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/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

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

Link to the challenge:

Why did you remove the “cat photos” link from the p element above?

You want to be sure you only do what the instructions ask and no more. Do not make any other changes.

facepalm Well, thank you for pointing that out to me. I wish the hint alluded to that.

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