diff --git a/script.js b/script.js index ae3c0fc..f13f596 100644 --- a/script.js +++ b/script.js @@ -1,8 +1,7 @@ const sleep = (delay) => new Promise((resolve) => setTimeout(resolve, delay)); //IT'S 9PM GO TO SLEEP -console.log("The scripts are: the multiplier, the one that states your favourite colour, the name swapper, the -little test I made, the weekly pay calculator, the address formatter, the Uber ® fare calculator, my while loop -test and the number detector.") sleep(1) startScript = prompt("Which script should be started? Answer with 1 to -9 respectively. Check the console for the script list."); +console.log("The scripts are: the multiplier, the one that states your favourite colour, the name swapper, the little test I made, the weekly pay calculator, the address formatter, the Uber ® fare calculator, my while loop test and the number detector.") +sleep(1) +startScript = prompt("Which script should be started? Answer with 1 to 9 respectively. Check the console for the script list."); switch (startScript) { case "1": number1 = prompt("What number do you wish to multiply?");