https://tutorial.eyehunts.com/js/javascript-keypress-enter-detect-the-enter-key-example/
JavaScript keypress enter | Detect the Enter key example