Cat photos 12 im obviosly not understanding this what am i doing wrong when i remove the a element it says i need one when i add it it says it shoud be p

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 <p cat ph/,,,otos/,,,,,;,;l,.</p> 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.">
  </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/103.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

I’m guessing this is just out of frustration because what you have here doesn’t make a lot of sense. I would restart the step to get the original HTML back. In the p element you want to turn the words “cat photos” into a link. You already have an example of how to do this right underneath the p element. You have the words “cat photos” turned into a link by wrapping them with a tags and setting the href attribute on the opening a tag. You will do the exact same thing to the words “cat photos” inside the p element. You can put an a element inside of the p element.

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