I need to add the anchor text cat photos to the anchor element

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html></html
<body></body>
  <h1>CatPhotoApp</h1>
  <main></main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <a href="https://freecatphotoapp.com"><a href="https://cat photos">click here to go to cat photos</a> click here to go to 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></main>
<body></body>
<html></html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 11

Link to the challenge:

hi, you should edit your code, and add cat photos between the opening and closing anchor element. like this;

hope it helps.!

1 Like

thanks a lot
i’ve been struggling with this for a while

step 12 is giving me issues still

CatPhotoApp

Cat Photos

Click here to view more <a href= "http://cat photos"

cat photos A cute orange cat lying on its back. cat photos

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

please share your question link

CatPhotoApp

Cat Photos

Click here to view more <a href= "http://cat photos"

cat photos A cute orange cat lying on its back. cat photos
1 Like

The question says " Your anchor (a ) element should be nested within the p element." . "anchor tag "
“The link’s text should be cat photos. You have either omitted the text or have a typo.”

Click here to view more <a href="http://cat photos"

cat photos

remove this
“Click here to view more”

<a href="http://cat photos"

just did, still isn’t working

please full fill the anchor tag

tried this as well, still not working

Close anchor tag. like this(<a href="this is link">This is text</a>)

1 Like

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