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 the input field element after clicking the submit button on the html.