Learn HTML by Building a Cat Photo App - Step 13

**Tell us what’s happening:**it is saying Your code should only have one anchor (a ) element.
Describe your issue in detail here.

Your code so far

<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>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- 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/112.0.0.0 Safari/537.36

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

Link to the challenge:

I think the step instructions were pretty clear: “You don’t need the link that says ‘Link to cat pictures’, you can delete that.”

i have deleted that whole line but now it says that The 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.My spelling is correct

Can you show your entire code with the changes you made. You can reply and use the format button which looks like </>. Please paste all your code between the two lines it gives you

I know. What the step wants you to do is create the link from the already existing words ‘cat photos’. You don’t need to add a second.

this is the code

See more cat photos in our gallery.cat photos

i have deleted second link

Thats not code, thats just text. You need to include all the code from your challenge. Press inside the area where you are writing the code and press ctrl+c to copy. Then follow the steps I posted, using the format button you will then press ctrl+v to paste everything you copied

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

this is the code

You changed the original text that the challenge gave you. Your <p> tag is not the same thing that the challenge started you out with. There was no need to change any of that text in that sentence. I recommend resetting the lesson, and the only thing to do is to delete the second link like it says

thnx man it worked that was helpfull

1 Like

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