Step 55 of the new RWD

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

this is the link c:

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”?

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