prompt() dialogue to collect user input parseInt() function to convert the input to an integer Math.random() method to create a random number
prompt() dialogue to collect user input
parseInt() function to convert the input to an integer
Math.random() method to create a random number
Back to other Code Examples.