const doThing = event => { input.value = event.value; input.focus(); sound.play(); } button.onclick = doThing