I am struggling with step 12! Can someone please give any wisdom? I think im doing something wrong. Thank you

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
<ahref="https://freecatphotosapp.com>cat photos</a></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 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/102.0.5005.87 Mobile/15E148 Safari/604.1

Challenge: Step 12

Link to the challenge:

You did add closing quotes to the link. Also there should be a space between a and href

1 Like

It still tells me that i should only have one anchor element within nested within my p element. Im not understanding.

<a href=“Cat photos”

woops, I made a typo. I meant you should* add

anyways, this is the syntax of the anchor tag

<a href = "www.website.com">Text you want to turn into a link</a>

Compare this with your original code and check what went wrong

I will work on it. Thank you so much

1 Like

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