Learn HTML by Building a Cat Photo App - Step 12

I have an issue with stage 12
please see my code against instructions and error popping up

My code:

See more cat photos in our gallery cat photos

I keep getting the following error:

Test

Sorry, your code does not pass. Keep trying.

Hint

After nesting the anchor (a) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element.

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

  <p>See more cat photos in our gallery
    <a href="https://freecatphotoapp.com">cat photos</a></p>




<!-- User Editable Region -->

      <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/110.0.0.0 Safari/537.36 Edg/110.0.1587.63

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

Link to the challenge:

This is correct.
But you already have the text cat photos in the p element. All you have to do is to enclose the text cat photos in the p element in an anchor element;
Use this rule:
<p>.......... <a href=" something here"> cat photos</a>.......</p>

Hi Lovistik, Thanks for coming back to me, however i tried and it didnt work.

<p>See more cat photos in our gallery
    <a href="https://freecatphotoapp.com">cat photos</a></p>

above is what i wrote, however it didn’t incorporate the following:

After nesting the anchor (a ) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element.

What is a possible fix please?

Kindly post you current code here by using this </>. With that i may see what you have done so far

<p>See more cat photos in our gallery</a>
    <a href="https://freecatphotoapp.com">cat photos</a></p>

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Don’t add another cat photos to the p element.

 <p>See more `cat photos` in our gallery</p>

Just enclose the existing cat photos in an anchor element.

The freeCodeCamp Forum - Learn HTML by Building a Cat Photo App - Step 12 - HTML-CSS - The freeCodeCamp Forum 06_03_2023 5_51_37 am (2)
Enclose the underline text in with an anchor element by adding <a href=" "> infront of cat photos and </a> at the end.

Thanks again for all of your help, it was such a simple fix in the end i can tell this journey is going to be interesting, people like you inspire me.

Thanks bro this helped me out alot