Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<head>
<script type="text/javascript">
function changeLabel(bool) {
document.getElementById("myLabel").innerHTML = (bool) ? "Checked" : "Not Checked";
}
</script>
</head>
<body>
<input type="checkbox" id="myCheckbox" onclick="changeLabel(this.checked)">
<label for="myCheckbox" id="myLabel">Not Checked</label>
</body>
</html>
<script>
function changeLabel(ele) {
ele.nextSibling.nodeValue = ele.checked?'on':'off';
}
</script>
<input type='checkbox' id='chkTest' onclick='changeLabel(this)'>off