bagaimana cara mendengarkan penekanan kunci di javascript
let b = document.getElementById("body"); //making var for body
b.addEventListener("keydown", (evt) => {//when this happens
console.log(evt.keyCode); //log keycode
});
Wandering Wasp