Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Could you help me ? ı dont understand what happened.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p> <a> href= "https://freecatphotoapp.com"> cat photos </a></p>

    <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/ Safari/537.36

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

Link to the challenge:

This is not a proper opening <a> tag. You should only have one closing > for the tag.

Also, you deleted all of the other text in the p element. The instructions did not ask you to do that. The text in the p element should still be “Click here to view more cat photos.” You just want to turn the words “cat photos” at the end of that sentence into a link.

Hey @pertu, we generally try not to post actual code solutions here. Instead, try to help them find the answer themselves.

Also, the closing tag in your solution is bad. But really, you should just remove your solution completely.

I found a solution. Thank you.

i get it, no problem.

I am also stuck on this step…how are you changing just 2 words into a link?

you put the opening tag of the anchor on the left of the words, and the closing tag on the right.
Please create you own topic if you are stuck next time. (otherwise we are just bothering the original poster who is already done with this).
(Click on Ask for Help button)

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