Your anchor (a) element should be nested within the p element

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

I’m a very visual person , and I cant understand what in doing wrong.
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.</p>
    <a href="https://freecatphotoapp.com">cat photos</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/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53

Challenge: Step 12

Link to the challenge:

You have to turn the words cat photos located inside p element into a link by replacing the words with the anchor element added previously.

You can do so by using the anchor element and replacing the text cat photos in the p element with the anchor element.

so i omitted the word cat photos and i pasted my href in the

and it worked thank you soo much for the help … pushing P

1 Like

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