Error lesson 61

Please will you assist. Where am I going wrong?

I seem to get this error: “Make sure there still are two radio buttons and three checkboxes nested in their respective fieldset elements.”

My code:
  <fieldset>
            <legend>Is your cat an indoor or outdoor cat?</legend>
            <label><input id="indoor" checked type="radio"  name="indoor-outdoor"  value="indoor"> Indoor</label>
            <label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
          </fieldset>
          <fieldset>
            <legend>What's your cat's personality?</legend>
            <input id="loving" checked type="checkbox" name="personality"  value="loving"> <label for="loving">Loving</label>
            
            <input id ="loving" type="checkbox" name="personality" value="loving"> <label for="loving">Loving</label>
            <input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
            <input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic"> Energetic</label>
          </fieldset>

hi, welcome to this forum.

If you would like help please provide the following:

  • a link to the challenge you are trying to pass
  • a complete copy of all your code in the index.html file
    (you can edit the post you made above to add the missing information there)

It seems you have for checkboxes

Thank you. It now works :slight_smile:

Thank you for the quick feedback

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