Need help with Cat Photo App Step 56

I am almost done with the “build a cat photo app” assignment and I am unable to move past step 56 as the app keeps repeatedly sending me the same error message no matter how many times I try to fix it. Please guide me on what could be wrong.

I keep getting this error message:

The input element for your checkbox should have an opening tag, but not a closing tag.

I have rechecked my code multiple times and I cannot find this error. I’ve attached my code below for reference (Step 56):

<fieldset> 
 <legend>What's your cat's personality?</legend>

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

</fieldset>

Welcome to the forum @sping

Please share a link to the step.

Happy coding

Try using explicit labelling, instead of implicit labelling. Use the for and id attributes for that.

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