Im having an issue with step 12

It keeps telling me I should only have one anchor

  **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"> cat photos.</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/103.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

I think you are missing a closing </a> tag here, aren’t you? Also, don’t add extra spaces in the link text. The link text should only be “cat photos”.

I tried to add the closing tag and It says the same thing

Hey there, i think your problem is with the href attribute value and the closing archor tag
<p>Click here to view more <a href="cat photos"> cat photos.</p>

Ya, what @larryk said, I forgot to point out that the href value is not correct.

Also, if you need further help you’ll need to paste your HTML in here so we can see exactly what you have done.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

<p>Click here to view more <a href="cat photos"</a> cat photos.</p>

ok so i think i fixed it but now its saying I have a omitted text or a typo with cat photos

<p>Click here to view more <a href="cat photos">cat photos.</a></p>

I don’t think this is the correct URL to us for the href attribute. Also, don’t include the period in the text link (put it after the closing </a> tag).

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