Never use the html event binders. Instead use `element.addEventListener('keypress', typingFunction)`


This way your HTML doesn't know about how the javascript works.