Im kinda stuck on step 13

its telling me to remove extra anchor tags. I only have one

  **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 target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
    <a href="https://freecatphotoapp.com"</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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Step 14

Link to the challenge:

This looks like two anchor elements to me.

i didnt know that one mattered since it was from the last step

Did you get rid of the bottom anchor element? Did that solve the problem? If not then please post your updated HTML in here so we can see what you did.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

Also, which step is this for? Your link goes to 14 but your title says 13,

yeah sorry its step 14 My bad

<a href="https://freecatphotoapp.com"</a>
     <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

Thanks for the clarification. To turn something into a link you surround it (or wrap it) with the opening <a> tag and closing </a> tag. You already did this for the words “cat photos” in the p element above the image. So you just do the same thing for the <img>, wrap it in the a tags. Right now your closing </a> tag is before the <img>. This doesn’t seem right, does it?

so like this? when I do this the photo disappears

 <a href="https://freecatphotoapp.com"
     <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

check the <a> opening tag

it brought the picture back but I didn’t turn it into a link the link is above the picture now on the webpage

     <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
     <</a>
<a> href="https://freecatphotoapp.com"
     <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
     </a>

<a href="https://........"> <img> </a>

Proper way
<a href="https://freecatphotoapp.com" >
<img>
</a>

got it! thank you that really helped

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