I'm trying to change p element to a link which is gonna be catphotos

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> <a href="catphotos"</a> </p>
   <a  href="catphotos"</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.5060.53 Safari/537.36 Edg/103.0.1264.37

Challenge: Step 12

Link to the challenge:

Hi,

I’d reset the lesson as your code needs to be reworked.

You do not need to change the href value. You also do not need to remove the text. You need to turn the existing text ‘cat photos’ in the p element into a link.

you mean like this?
<p> Click here to view more <a href="cat photos"</a> </p>
so if i want to make cat photos a link; am i not supposed to use the anchor <a href=""<a/> inside p element?

Hi you need to format your code so I can read it.

When you paste it, highlight it and press the button that looks like this </> this puts backticks around it that format code. Otherwise html code will not show up correctly.

However, I can see that you are still putting the wrong thing in the href. hrefs take links and ‘cat photos’ is not a link.

The lesson provides you with a link to use, it is in the href the lesson gives you.

Do you know what a link is?

you mean like this?
<p> Click here to view more <a href="cat photos"</a> </p>
so if i want to make cat photos a link; am i not supposed to use the anchor <a href=""<a/> inside p element?