I cannot pass this challenge, tried to paste answers from here but still failed it

Tell us what’s happening:

Im trying to solve this challenge, but something is wrong here, I looked answers and they still not work. I tried to write word “loving” with small letter too, did dome spaces between elements , but still could not pass it
Describe your issue in detail here.
There’s another way to associate an input element’s text with the element itself. You can nest the text within a label element and add a for attribute with the same value as the input element’s id attribute.

Associate the text Loving with the checkbox by only nesting the text Loving in a label element and place it to the right side of the checkbox input element.

  <input id="Loving" type="checkbox">  <label for="Loving">Loving</label>

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>View more  <a href="http://freecatphotoapp.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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36

Challenge: Step 12

Link to the challenge:

I think you have a link to the wrong Step. Which Step is this for?

Continuing the discussion from I cannot pass this challenge, tried to paste answers from here but still failed it:

its Step 55

You have done everything right here except that you changed the case on the id. Change it back to loving and change the for attribute on the label to match.

I did it
//// loving but still shows wrong … Hint

The text Loving should no longer be located directly to the right of your checkbox. It should be wrapped in a label element. Make sure there is a space between the two elements.

Thank you I just update the website and it works now, something was wrong with website

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