$\require{cancel}$
<li> <label for="input0"> Enter a number:</label> <input type="number" id="input0" />
<li> <label for="input1">Enter a number:</label> <input type="number" min="0" max="20" value="3" id="input1"/>
onchange
<li> <label for="input3">Enter a number:</label> <input type="number" value="0" onchange="ChangeScript()" id="input3"/> <script> function ChangeScript() { box = document.getElementById("input3") value = parseInt(input3.value) console.log("We got a ", value) } </script>