Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening:
Hi there, I’m stuck at step 11, i need to insert the link text “link to cat pictures” between my anchor tags but im responsed that the text needs to be between et … I must admit im confused

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>
      <a href="https://freecatphotoapp.com"></a>

<!-- User Editable Region -->

      <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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

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

Link to the challenge:

Good evening. What I possibly think it wrong is that you have two <a href lines instead of just one line. What you could possibly try is to remove your first <a href line under the paragraph and see if that changes anything. I know for sure the second line with the added “link to cat pictures” is correct. I hope it helps. (I’m still learning as well)

@Arithxz has part of the solution for you. You should not have two links in this challenge, so you can get rid of the first one as said.

You also changed text that you shouldnt have
<p>See more cat photos in our gallery.</p>

This is not the text that the challenge gave you

@Arithxz @Cody_Biggs Thanks to both of you for your answers

It’s weird though, because the first link is the continuation of the validation of the code in previous steps, maybe there is kind of a little problem here, the portion that should be editable in step 11 should be the first link and not to write a new one, if I make any sense.

@Cody_Biggs it’s the text provided in step 3 and the code passed, is it supposed to be something else ?

It may have let you pass, but the text should have been

“See more cat photos in our gallery” you will see that is the original text given if you were to reset the challenge

Ha, you’re right, I removed the dot and it passes,

Thanks again, I really need to be extra cautious for these little details,

1 Like

Anything to help! Glad you got it figured out.

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