Creating a word to a link

** Turn the words cat photos located inside p element into a link by replacing the words with the anchor element added previously. The p element should show the same text in the browser, but the words cat photos should now be a link. There should only be one link showing in the app.

  **Your code so far**

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
      <a href="">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; rv:91.0) Gecko/20100101 Firefox/91.0

Challenge: Step 12

Link to the challenge:

Welcome to the Forums :wave:

There are some small errors in your code:

  • You have two a elements, you have to delete the a element outside the p element

  • The href of the a element should be not

  • There should be the text Click here to view more inside the p element but before the anchor element.

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