Need help!How to achieve users do not enter the chaos?


var userChoice = prompt("Do you choose rock, paper or scissors?",);
    prompt("Re input");
Do the results, the back can not be compared, how to do?


You will need a combination of
logical operators
and a while loop ( which you will learn in the next lessons... )

All operators


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.