Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I have been stuck on this step for sometime, i just can figure it out where am going wrong. any one please kindly help

type or paste code here
<p>Click here to view more cat photos.<a href="https://freecatphotoapp.com">cat photos</a><p/>

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

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

Link to the challenge:

The p closing tag is mistyped

2 Likes

Moderator edit solution out

The way you programed this will make the text say “Click here to view more cat photos. cat photos”. You need to delete the first “cat photos” and keep the second “cat photos” because you want to replace the first "cat photos with the “cat photos” between “a” and “/a” which will become a hyperlink . You also need to move the period from in front of the “a” code to between the “/a” and “/p” so the period is after “cat photos” and not before it.

3 Likes

Thank you for the help

Thanks for the help ,next time i will be keen

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