Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I think i hv done it right but they are saying this code is wrong help me to correct it
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>
    

<!-- 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 (Linux; Android 11; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36

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

Link to the challenge:

instead of adding a link at the end of the given text, you should make the given text into a link.

So the original text of the paragraph was:
See more cat photos in our gallery.

It already has the words cat photos in the middle there.
So just make those words become clickable.

1 Like

Tell us what’s happening:
Describe your issue in detail here.
The Preview showing the cat photo text is clickable but its saying the code is wrong what to do
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>

<!-- User Editable Region -->

      <!-- TODO: Add link to cat photos -->     
       <p>See more cat photos in our gallery. <a href="https://freecatphotoapp.com">cat photos</a></p>
      

<!-- 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 (Linux; Android 11; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36

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

Link to the challenge:

You have the text ‘cat photos’ there twice. It must only be there once.

Okay but where to put it sorry im asking questions again and again but i really wanna learn this hope u guys don’t mind

This is your original text. This is the only copy of the words ‘cat photos’ you should have.

please don’t create a duplicate topic for the same question/challenge next time. You can just reply to the original post you made if you want to ask a follow up question or if you want to re-post the code.

I have merged the duplicates

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