Learn HTML by Building a Cat Photo App - Step 56

Tell us what’s happening:

I tried many ways and still m not able to figure it out how to do it. I dont know whats missing or what is wrong

Your code so far

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

step-56

Welcome to the forum @Migval

I edited your post so the code correctly formats on the forum

Please remove the label element and the second input element, they were not asked for in the instructions.

Happy coding

Thank you,
the instructions are Associate the text Loving with the checkbox by nesting only the text Loving in a label element and giving it an appropriate for attribute.
This is my code so far. It is asking me to add a label element with the text “Loving”

        <label for="loving">loving</label>

Here is the instruction I see for step 56

Now i have this error message " Sorry, your code does not pass. Try again.
Your label element should have the text Loving."
The code I used

label for=“Loving”>loving</label

Hi @Migval

Are you on step 56?