const userAge = parseInt(prompt("Age:")) if(userAge >= 18) { alert("You can enter") } else { alert("You cant enter") }