Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
I have tried configuring this step so many ways and haven’t been able to get it right. I am not sure if its asking me to create new text that is hyperlinked or if it is asking me to hyperlink existing text. Should the ‘a href’ be around the words “cat photos,” within a ‘p’ tag?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p> <a>
      <p><a href="https://freecatphotoapp.com"></a>Cat Photos</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

It is asking you to make a link out of the existing text. So don’t change any of the text in the p element. Just add the necessary opening and closing tags so that the words cat photos are turned into a link.

I got it! Thank you!

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