STEP:12 - May someone please help provide the answer, for something so easy, I am confused as to why I cannot get it

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <a/> <p>Click here to view more <p href="cat photos."</p>
    <p href="https://freecatphotoapp.com"></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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Step 12

Link to the challenge:

I would recommend you restart the step to get the code back to what it originally was. You want to do two things:

  • Make the words “cat photos” in the <p> element into a link
  • Remove the current link below the <p> elment.

The second one is easy, you just delete the link. The first one isn’t much more difficult. To make something a link your wrap it in <a> and </a> tags. And then links have an href value. You’ll use the same value as the link below the <p> tag.

1 Like

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