Stuck on html, step 12

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 -->
    <p>Click here to view more cat photos.<a></p>
    <a href="https://freecatphotoapp.com">cat photos</a>
    <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/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

You want the link to be on the words “cat photos” inside the p element.

do you have an idea on how to pass this step?

4 posts were split to a new topic: Need help with step 11

I would reset the lesson

The challenge wants you to turn cat photos here

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

into a link

The anchor tags should go around the cat photos text.

This should be the final result
Screen Shot 2022-06-23 at 11.04.21 PM

hey man, I’ve been trying to figure this out for so long and maybe now is the time to ask some help. As the instructions says " A link’s text must be placed between the opening and closing tags of an anchor (a) element. For example, <a href="https://www.freecodecamp.org">click here to go to freeCodeCamp.org</a> is a link with the text click here to go to freeCodeCamp.org.

Add the anchor text cat photos to the anchor element. This will become the link’s text."

I really can’t follow their instruction at this point.

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