Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here. I cannot find my way around step 12 please. I need some help to understand it better.

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> <main> href= https://freecatphotoapp.com</main> </a>.</p>
      <a href="https://freecatphotoapp.com">cat photos</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/105.0.0.0 Safari/537.36

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

Link to the challenge:

I would restart the step to get the default HTML back as you have added things you weren’t asked to add. The instructions say:

“In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by placing these words inside of opening and closing anchor (a) tags.”

So the only thing you should add are opening and closing a tags, wrapped around the words “cat photos” in the p element.

Don’t do anything other than this.

hi there, welcome to the forum.
First please click on Restart Step because I think you have managed to confuse yourself enough that it is better to start from scratch.

Once the code is back to the original format you will see this:

      <p>Click here to view more cat photos.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>

The request here is to make the last 2 words of the paragraph into a link.
So the last two words of the paragraph here are “cat photos”.

Do you know how to turn just these two words into a link?
(Hint: the answer is actually right in the code already, you did something very similar in the previous steps)

Thank you so much.
I really appreciate.

Thank you so much.
I really appreciate…

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