Please help HTML Step 12

Not sure what I’m doing wrong. Please advise.

The problem:

Step 12

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.

My code so far:

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

Hi, reset your code, and then put the opening anchor tag with href inside it in front of cat photos in the p element, and the closing tag at the end, don’t include the dot.

HI @horchata-wave !

Welcome to the forum!

I have edited your post to include the challenge link.
In the future, please include this link so we can help you.

You are missing parentheses here

Once you add that then the challenge, passes

1 Like