Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
   <a> Click here to view more cat photos.</a>
      <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 (Windows NT 10.0; Win64; x64) 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:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

yes please, I dont totally understand this whole step 12. if you could help me through, I would be glad

Hey! So it says “in the text of your

element.” So you don’t want to want to get rid of your p element completely. Rather you want to add an “a” element within your “p” element with a link to the given url. Hopefully that helps!

yes, so how to do that is now my problem

you can do <p> Click here to view <a> cat photos <\a> <\p> then include the url with the “a” element

1 Like

I wrote a post explaining how to create a link within a paragraph element here.
See if it helps

The issue I see is that you have a period at the end of Photo, Your code looks exactly like mine except for that part. Let me know if that helps and good luck

1 Like

Thanks to you all, i was able to pass that step

1 Like

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