Learn HTML by Building a Cat Photo App - Step 12

i cant seem to understand what the F this site is telling me:
its telling me there should only be 1 A element but there is ONLY 1 and i cant seem to chamge that hint idk what i should do please help i did delete the old a tag and there was only 1.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p><a href="https://freecatphotoapp.com">Click here to view more cat photos.</p>
    <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/103.0.5060.114 Safari/537.36 OPR/89.0.4447.64

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

Link to the challenge:

Agreed, the hint you are getting is not very good. Ignore it.

First, a link has both an opening <a> tag and a closing </a> tag. You forgot to add the closing </a> tag. That is what the hint is really trying to tell you.

Second, you only want the words “cat photos” to be a link, not the entire sentence.

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