Use e.preventDefault() to stop default browser behavior
e.preventDefault()
e.preventDefault(); console.log("shoot bullet");```