input check js code example
Example 1: fill checkbox javascript
// Check
document.getElementById("checkbox").checked = true;
// Uncheck
document.getElementById("checkbox").checked = false;
Example 2: html checkbox status
app.innerHTML = '<h1>Hello, world!</h1>';