Stuck on step 12 Need Help

I’m doing the 12th step and it keeps saying that my code should only contain one anchor (a) element and to remove any extra anchor elements. I’m not understanding the problem.

  **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="cat photos".</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/102.0.5005.63 Safari/537.36

Challenge: Step 12

Link to the challenge:

1 Like

Hi @Hasan1

Check the a tag syntax here, for example:

You have a typo as well.
When I dont understand a step challenge I check syntax of all elements involve till I understand the problem. Then it is easy to solve and also I get a deeper understanding.
I hope it helps. Happy coding!

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