Need help with actually understanding step 12. Cant get the code right

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 href= Click here to view more cat photos.</p>
    <a href= "cat photos".>
    <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 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

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.

the <a href> is just can put url link
cat photos no a url link

only wrap “cat photos” inside your anchor tag with empty href

<a href=" # "> cat photos </a>

(post deleted by author)

Thanks, but its still giving me trouble. I dont know what i am missing in my code.

what’s your code now?

<p href= Click here to view more cat photos </p>
<a href=" # "> cat photos </a>

an html element has an openign tag, like this:

<elementName>

note that it has first an angular bracket, <, then the element name, then a closing angular bracket, >

if you need to add any attributes, you add them after the element name

<elementName attribute="value">

and then a closing tag, like this:

</elementName>

The closing tag has an angular bracket followed by a slash, </, then the element name, then a closing angular bracket, >

if you add text in the element, this will go between the opening and closing tags

<elementName attribute="value">Element Text</elementName>

make sure all your elements follow this schema

You’re doing great :relaxed: you only need to remove the “href” attribute from the “p” element