How do I make the paragraph "Click here to view more cat photos." a clickable link?

Tell us what’s happening:
How do I make the paragraph “Click here to view more cat photos.” a clickable link ?

  **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/101.0.4951.64 Safari/537.36 Edg/101.0.1210.47

Challenge: Step 12

Link to the challenge:

You should nest the anchor tag inside the p element.
so the code should be,

Mod Edit: Solution removed

So here cat photos will turn into a clickable link.
Hope it helps.

It is good to know that you solved the problem, but posting solutions does not help people develop in their skills. Instead you can point out the mistakes and give hints.

I am really sorry i am new to freecodecamp so i didn’t know. Thankyou for your advice will keep in mind. Thankyou…

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