After nesting the anchor (a) element, the only p element content visible in the browser should be Click here to view more cat photos. Double check the text, spa

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

  **Your code so far**

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos</a>
    <a href="">cat photos</a>
    <img src="" alt="A cute orange cat lying on its back.">
  **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:

You have to replace the text cat photos in the p with the anchor element just below it. Also check the closing p element.

1 Like

thanks for your response but can i get an exmple at this point i am confused

<p>Welcome to <a href="">Wikipedia</a></p>

I would say this is an example here.
The code you have is more or less similar to:

<p>Welcome to Wikipedia</a>
<a href="">Wikipedia</a>

Spot the differences the first one is the correct syntax, if you understand the syntax, you can find your solution.

alright thank you very much

so i have a the cat app why did the code have to end in <p> and not </p>

Can you tell me in more detail, I don’t understand what you are saying.

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