Learn HTML by Building a Cat Photo App - Step 12

Hello everyone I´ve been stuck here, can anyone help me please?
The hint say: The link’s text should be cat photos . You have either omitted the text or have a typo. But I copy and paste the link provide by the page.

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p><a href="https://freecatphotoapp.com">Click here to view more cat photos.</a></p>
      <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/108.0.0.0 Safari/537.36 Edg/108.0.1462.54

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

Link to the challenge:

You have made the entire sentence in the p element a link. You only want to make the words cat photos a link. Anything you put between the opening and closing a tags will be a link. So if you only want to make the words cat photos a link then where should you put the opening and closing a tags?

P.S. The period at the end of the sentence should not be in the link.

1 Like

Thank you so much for u help I just solve it have a nice day

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