I am unable to get Passed Step 12, I have tried everything but it keeps asking me to only have 1 (a) element

Tell us what’s happening:
Describe your issue in detail here.

  **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."</p>
    <a href="https://freecatphotoapp.com">cat photos
    <p href="https://freecatphotoapp.com"></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_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Step 12

Link to the challenge:

So that is because you have two <a> elements :slight_smile: Do you see that you have two <a> tags in your code? Neither of them have the required ending </a> tag, but that doesn’t mean they aren’t still there.

I would restart this step. When you are done you should only have one beginning <a> tag and one ending </a> tag and they should wrap around the words “cat photos” in the <p> element.

I have tried that to… Hmmm…

You’ll have to show us your code update. Otherwise we don’t know what you’ve tried.

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