Ive try to link all the lines still no joy

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><a href= "Click here to view more cat photos.""></p>
    <a href="https://freecatphotoapp.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.115 Safari/537.36

Challenge: Step 12

Link to the challenge:


This is not a valid anchor element.

I would reset this challenge. The challenge wants you to take the entire correct anchor element you finished on the previous step and replace the text cat photos (and only those two words) in the paragraph with the entire correctly formatted anchor element.

Your anchor element is incorrect.
A correct way to do it would be :<a href="link">Text that is displayed</a>
Hope this helps you.

hi jeremy

Step 12

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.

but ive tryed it on all diffrent lines where h2 is
tried line 6 and 8 still not allowing it to work

outputting this

Your code should only contain one anchor (a ) element. Remove any extra anchor elements.


thanks guys still stuck but its

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

still havent got it as of yet haha

Did you see what I wrote here? Did you try resetting the code and only moving the anchor element that’s already there?

sorted it thanks so much guy
i got blocked due to usage of this forum haha

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