If I have a simple button in my html:
<button id="bgnBtn">Start Game</button>
and I want a prompt in my JS:
var userAdjective = prompt("Please provide an Adjective");
to initiate only after the button is clicked, how would I write this?
Can't seem to find this concept out there, at least for one so boiled down to basics like this.
Thanks,