What is wrong in this segment?

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<a href="#"> 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36

Challenge: Step 12

Link to the challenge:

Hello :wave:

This question is asking you to place a anchor tag < a > inside your < p > element.

As I can see from you code you have provided you have nested a anchor tag into the P element which is fine, but the problem you are having is with the < a href=“#” > portion of your code.

I don’t want to just give you an answer here but try to figure out what is missing from this small portion of your code. Also, when I clicked on the link provided it displayed an anchor tag with a link in it below the P element tag. Have a look at how that < a > tag is written out and see if you can find what you are missing for <a href="#" >

If you are still stuck after trying to figure it out reply back to me and I will guide you further.

Happy Coding!

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