Learn HTML by Building a Cat Photo App - Step 56

keep getting error msg :

The text Loving should no longer be located directly to the right of your checkbox. It should be wrapped in a label element. Make sure there is a space between the two elements.

[/quote]

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

The directions say:

“Associate the text Loving with the checkbox by only nesting the text Loving in a label element…”

You have nested both the input and the text Loving in a label element.

thanks bbsmooth. i fixed it by only nest Loving in a Label element

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