Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
I am struggling with step 12
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

<p> <a href='https://freecatphotoapp.com'>cat photos</a> in our gallery.</p>
/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/114.0.0.0 Safari/537.36

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

Link to the challenge:

You deleted the words “See more” before the link. You don’t want to make any unexpected changes. Doing anything other than what the instructions ask will most likely cause the tests to fail.

Also, it looks like you have a stray /p between the p element and the second link. Again, don’t add anything that the instructions don’t ask you to add.

I’m a little bit confused now

This is what my code looks like now pretty sure i made it worse

This is just a link to the challenge. You need to post the actual code, you can use the format button that looks like </>

  <p><a href="https://freecatphotoapp.com">cat photos</p>

I dont see a closing anchor tag thats supposed to come before the closing paragraph tag. I also dont see any of the other text that the challenge gave you for this sentence. Did you delete it?

yes i’ve been trying to find the undo button if there is one?

You will have to use the reset button to get the challenge back to the default. Then you can try adding the link around the words “cat photos” without removing anything

ok i’ve managed to reset

still unsure on how to do this however

Show your new code. I cant help if I cant see

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

Where is the link? I just have to ask to get an idea of where you are at and how I can explain this challenge. Do you 100% understand the requirements for the challenge?

I’ve reset the code so i understand the question but don’t know how to insert the link into the p element

This code is the closest you have been. You add the link like how you added it here. Just do not remove any text from this sentence

thank you i got it now.

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