To the user to enter a text or number, how can I capture it and store it in a variable?
I've been testing with:
let captureNumber = document.getElementById("number2").innerHTML;
console.log(captureNumber)
<input type="number" placeholder="Nivel de Seguridad" min="65" max="90" id="number2">
What I try to do there is that the user selects a number to be captured and that number will be shown in the console.