Challenge 12-HTML

please guys i’ve got another issue on step 12, replacing the texts in the paragraph with an anchor tag, cat photos is to be the link in the sentence did it the best way i could but it’s not working still.

  **Your code so far**

  <!-- TODO: Add link to cat photos -->

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

  </p>

  <p>cat photos</p>

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more<a href="https://freecatphotoapp.com"> cat photos.</a>
    </p>
    <p>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/101.0.4951.67 Safari/537.36

Challenge: Step 12

Link to the challenge:

What they want is first, to turn the bolded text(in my example) into a link:
<p>Click here to view more cat photos.</p>
And after that they want you to remove the bottom paragraph.
Only one link, and only one text saying “cat photos”

So just remove this: <p>cat photos</p> and it should be fine :slight_smile:

Many times when im having trouble it does me great good to look and the instructions and read it back word by word to know exactly what they’re asking for.

So since this was the original link <a href="https://freecatphotoapp.com">cat photos</a> They never asked to change it to a paragraph, they only wanted one link left so it meant this whole original tag is to be removed.

thanks much for your reply my friend, i did remove the

cat photos

but it still won’t work.

please i need help here

remove the period ( “.”) out the “a” tag and delete the paragraph that says

cat photos

thanks much Adane, it worked the dot and my spacing were the problems.

You have a couple issues. First there should be a space between the word “more” and the anchor element (a). Next, the link text should only be the words “cat photos” with no extra spaces or punctuation for the text. You have both an extra space and a period. Lastly, you have another p element in your code. Why did you add that?

hey can u help me as well im stuck on it too