check/uncheck radio button html code example
Example 1: html radio button checked
<input type="radio" id="huey" name="drone" value="huey"
checked>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio-->
Example 2: javascript uncheck radio button
document.getElementById("radioButtonID").checked = false; //uncheck a radio button
document.getElementById("radioButtonID").checked = true; //check a radio button