Migval
October 29, 2024, 11:44pm
1
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
Teller
October 29, 2024, 11:49pm
2
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
Migval
October 30, 2024, 12:02am
3
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>
Teller
October 30, 2024, 12:05am
4
Here is the instruction I see for step 56
Migval
October 30, 2024, 12:32am
5
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