I tried to delete the entire A element below P but still fail (hint your code should only contain one A element

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

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href="https://catphotoapp.com">cat photos<a/></p>
    <a href="https://catphotoapp.com">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.">
  **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:

Im on my phone so i can’t clip your code but if you have already gotten rid of the second A …then take a look at your closing tags maybe the problem is there

you must delete the anchor that is under <p>

(post deleted by author)

(post deleted by author)

Turn the words cat photos located inside p element into a link using the same value for the href attribute as the link below the p element. The p element should show the same text in the browser, but the words cat photos should now be a link. Make sure to remove the a element with the text cat photos on the line below the p element.

Thanks, I’m new to coding but trying my best to get the hang of it… but struggling haha hope you could help

The code you have posted is close…you need to get rid of the 2nd anchor below the paragraph line …since you only need 1 anchor that is nested within the p tags. After you delete that it would work but you have made a syntax error while typing your closing tags …take a look at them closely and compare them to other closing tags on the page

1 Like

Im guessing the heart means you got it?

OMG! Thank you so much, just one typo and everything messed up… I really appreciate how you let me find my error. And not just pointing my mistake… Long way to go for me haha lesson learned

1 Like