Learn HTML by Building a Cat Photo App - Step 56

this is my code for the label and checkbox, the label is showing up next to the checkbox but the website is not registering it

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

you have a label with text in it, then you have the input element then more text. Are you sure you should have the word Loving twice?

1 Like

Welcome to FFC forum. You need label opening and closing tags around Loving text after your input element. Reset your challenge and try again.
@llewellyncryer

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