<input type = "number" id = "vvedennoeChislo" class = "knopka"> <br> <button onclick = test()>НАЖМИ</button> <script> function test(){ let s = document.getElementById('vvedennoeChislo').value; console.log(s); }; </script>