Cat photos in p element

Tell us what’s happening:
Describe your issue in detail here.
Been unable to scale through this for a long time and i have been getting this response below;

‘The link’s text should be cat photos . You have either omitted the text or have a typo.’
Your code so far


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

Challenge: Step 12

Link to the challenge:

The href tag needs to have a link. do not copy paste “Click here to view more cat photos” inside the href tag. “Click here to view more cat photos” should be outside the “a” element.

still not getting it :thinking: :thinking: :thinking:

We are not suppose to give out the result directly but still just for the sake of explaining the code:

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

Thank you so much, the explanation was very useful. :smiling_face_with_three_hearts: :smiling_face_with_three_hearts: :smiling_face_with_three_hearts:

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