Learn HTML by Building a Cat Photo App - Step 13

This is my first day coding’s im not sure what im doing but it keeps saying my code should only have 1 anchor.How do I do that while still making the link to the cat pictures work?Does anyone know what’s wrong with it ?

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

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

Link to the challenge:

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href="https://freecatphoto.com">cat photos</a> </p>
      <a href>link to cat pictures</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

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

Link to the challenge:

HI @aishayy05 !

Welcome to the forum!

It looks like you posted two different code snippets that don’t match.
I will focus on the bottom one here

The problem is here

This anchor tag shouldn’t be here because the directions tell you to remove that link.

Also, this is the wrong url here

I would suggest resetting the lesson and only removing the second link in line 8 like the directions say to

1 Like

I got there in the end thank you sm for ur help!!!

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