You can set a checkbox or radio button to be checked by default using the checked attribute. To do this, just add the word “checked” to the inside of an input element. For example,
<input type="radio" name="test-name" checked>
You can set a checkbox or radio button to be checked by default using the checked attribute. To do this, just add the word “checked” to the inside of an input element. For example,
<input type="radio" name="test-name" checked>
Your first checkbox on your form should be checked by default.
This is what i am getting wrong
Okay so just look at the “radio” buttons, add checked then just a few code lines down look at the “checkbox” (personality) and write checked on that as well.