I made a rock, paper, scissors game and in the program, I have a button that should come up but it never does, It keeps giving me an error that says, \"Uncaught TypeError: Canno
When you use document.write, it will display its content by overwriting all the DOM elements.
document.write
So you need to use innerHtml for displaying the contents keeping your DOM Alive.
innerHtml