Please help to this? What is the error of this I added checked to my code

Is your cat an indoor or outdoor cat? Indoor Outdoor

Hello and welcome.

Can you put your full code?

Use the help button. This button only appears if you try to send the code at least three times.



This is the full code the question is. Make the first radio button and the first checkbox selected by default. I put a checked on the first but it is not correct.

Is your cat an indoor or outdoor cat? Indoor Outdoor What's your cat's personality? Loving Lazy Energetic

you have to post your own code of how you tried. we can’t see your code unless you post it.

how to post my code here?

copy-paste it. then select it all and click </> icon so it puts it in code block

            <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>
            <legend>What's your cat's personality?</legend>
            <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>

Yea, I feel that there is a problem to my browser. Thanks

1 Like

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