How do I fix this Rock Paper Scissors Java/HTML game?

Okay I’m publishing a JavaScript application that might prompt the consumer for many between 0 plus 2, generate the random number for that computer, and then take that will input and also display a couple images (in this kind of case not one but two hands doing rock, papers, or scissor symbols at each one other) using a spectrum, and showing text indicating a get, draw, as well as loss.I’m having many problems acquiring this to figure as We are new to be able to JavaScript plus am wanting to know if anybody could guide me fix this matter.I just simply want your input from the prompt And the random selection to turn to what within the array really should be displayed plus what text is and then shown at the end.Any comments/advice/help is usually greatly prized! By began seeing for whatever reason it does not let the particular letters THEY WOULD T M L display together to ensure that is where the ellipses are listed!

rock

ROCK PAPERS SCISSORS BLAST!

Javascript is usually case sensitive

(1) you then have a mix with userChoice and also userchoice
(2) It is really getElementById (capital B)
(3) onload need to be in your body, not inside the

tag
(4) there is not any matching

however, to debug this kind of yourself
(1) bring a “debugger; ” for the onload.That claims that them wasn’t firing from the

licence plate.Then step it for the body.
(2) When it that will fire step over the code (assumes you’re repeating this with the debugger within your choice.Then you certainly would see the problems with the situation sensitivity.

Leave a Reply