const inputElement = document.getElementById("contactMail");
console.log(inputElement.checked);
inputElement.checked = true;HTMLInputElement: checked property / notebook
HTMLInputElement: checked property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.