Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I’m not sure what’s wrong with this please help

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href="https://freecatphotoapp.com">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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

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

Link to the challenge:

Can you be more specific? What part has you confused?

You have no closing anchor tag

This is what it keeps telling me “Your code should only contain one anchor (a ) element. Remove any extra anchor elements.” I keep changing it but it just seems that I’m not getting it.

Omitting the closing tag results in broken syntax and confuses the tests.

I’m still confused :thinking:

Did you put a closing a tag anywhere? Look back at the last step. A closing a tag is mandatory.

You have opening and closing p tags. You are missing a closing a tag.

how to slove this? I’m still confused

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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