A link error in lesson 12 of cat photo

As I understand the exerscise , turn the words “cat photo” inside the ( p) element into a link using the same value as the ( href) attribute as the link below the ( p) element.
when I click on the “cat photo” it takes me to https:freecatphotoapp.com and in a box it says it works but , in the excersise it says the code does not pass and there should be only one (a) element .
ANY help will be greatly appreciated.

  * code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href="https://freecatphotoapp.com">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.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 12

Link to the challenge:

Hi @apii You should remember about closing tag for <a>.

Paste closing tag </a>before </p>

<p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a></p>
Just remove the dot you have added in ‘cat photos’. It will pass.
And add closing tag for anchor element.

WOW, WOW Amazing.
Just remove the period and add the closing (a).
The Funny thing is , I thought I tried that , hahaha, guess not.
Thank you sooo very much.;)))

1 Like

Thankyou so much.
I thought I tried that but, I guess not:))) thanks again.

1 Like

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