JSFiddle - React, Tailwind, and code Playground
by Will Stott
JavaScript
var userChoice = prompt("Please type in rock, or paper, or scissors.", "Type it here!");
while(userChoice != "rock" && userChoice != "paper" && userChoice != "scissors") {
var userChoice = prompt("Uh oh! You plonker, I didn't understand that! Please type in rock, or paper, or scissors.", "Type it here!");
}