Learn HTML by Building a Cat Photo App - Step 12

Unable to solve the exercise:

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

<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 href="https://freecatphotoapp.com">link to "https://freecatphotoapp.com"</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:

Hi there, did you have a question?

lets read from instructions,

In the text of your p element, turn the words cat photos into a link

currently, your code does not have that, does it? you are close though, you can either :

  • just move this “a” element that you have in that “p” element and replace text with “cat photos” or
  • restart this step and simply TURN “cat photos” text into an anchor tag

address that change and it should be alright, happy learning :slight_smile:

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