Fix event on input field in index.html. Remove console logs.