Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
The code output is so far correctly but I cannot pass to another lesson with my code.

Your code so far


Cat Photos

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

     <a href= "https://freecatphotoapp.com"<p>See more cat photos in our gallery.</p> </a>
      <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.">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

Your code for this challenge is not correct. Using the code you provided I get this error

"Sorry, your code does not pass. Keep trying.


You should nest a new anchor (a) element within the p element."

Looking at the directions, it asks you to " 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."

Meaning you need to put the link only around the words “cat photos” but you have a link around everything

Please review the previous step (Step 11). You can do the same to words inside of an element, such as a p element.

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