Although I can see an "onkeyup" event in the chrome console, for whatever reason, the event is not firing.
var el = document.getElementById("userInput");
el.addEventListener("onkeyup", function() {
alert('yahoooo0');
});
<input type="text" id="userInput" name="food"/>
Update your
event listener
fromonkeyup
tokeyup
.