Forming link using href

Turn the words cat photos located inside p element into a link using the same value for the href attribute as the link below the p element. The p element should show the same text in the browser, but the words cat photos should now be a link. Make sure to remove the a element with the text cat photos on the line below the p element.Tell us what’s happening:*

This was the question. I cant seem to get the right link as required by this question. Please assist. Thanks

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

Challenge: Step 12

Link to the challenge:

You don’t want to add any new “cat photos” to the HTML. You want to use the existing “cat photos” that is in the p element.

<p>Click here to view more cat photos.</p>

This is the “cat photos” you want to turn into a link. You can add opening and closing a tags inside of p tags.

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