I'm currently working on creating a simple game involving sliding ice-blocks. I ran into an issue while testing this JSFiddle and I'm looking to "hide" the image/button triggered by the line alert('Game starts!');
. I attempted using
startButton.style = "visibility: hidden;";
but unfortunately, it did not produce the desired result...
My main focus right now is solving this particular problem, as I already have a good grasp of how to code the actual game :)