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!
Can u insert a link to the challenge?
That way you could be understood better
The label element should come after the input element
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”?