Help with html5

hi, someone help me why this isnt working. I used youtube as help, but it keep saying its wrong.

<fieldset> <legend>Is your cat an indoor or outdoor cat?</legend> <label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> 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" type="checkbox" name="personality" value="loving" d> <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>

The first checkbox is missing the checked attribute.

I think this is telling you the problem. Does the first checkbox have the checked attribute?

yes, I checked it and it does have checked

In the HTML you pasted above, I see that the first radio button has the checked attribute, but I don’t see it on the first checkbox.

Ohhhhh, okay, thanks. Fixed it. Thank soo much for the help

Ohhhhh, okay, thanks. Fixed it. Thank soo much for the help.

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