Lizzie
September 9, 2022, 4:07pm
#1
Hi! I’m stuck on this step, even though it’s so similar to the previous steps. I’ve tried passing the tests in multiple ways, and in the end this is what looked the most correct to me:
<label for="loving"><input id="loving" type="checkbox"> Loving</label>
However, this does not pass. Can anyone please shed a light on why that would be? Thanks in advance!
dannee
September 9, 2022, 4:20pm
#2
Can u insert a link to the challenge?
That way you could be understood better
dannee
September 9, 2022, 5:49pm
#4
The label element should come after the input element
Lizzie
September 9, 2022, 5:53pm
#5
thank youuu, it worked !
but, i’m confused, for the previous steps my code cleared the tests by being like this:
<label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>
<label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
why didn’t it clear this time by using the same “template”?