Javascript – I want to implement code on my console with callback function
The callback function code refused to render on my console as expected...what could be the issue? FormEl = document.getElementById ("form"); FormEl.addEventListener( "Submit",() =>{ Const userInput = inputNum.value Console.log (userInput) }) I was expecting to get back the value typed into…