Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tungstengmd authored Mar 13, 2024
1 parent d288de4 commit 7ac89f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
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.");
startScript = prompt("Which script should be started? Answer with 1 to 9 respectively. 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.");
switch (startScript) {
case "1":
number1 = prompt("What number do you wish to multiply?");
Expand Down

0 comments on commit 7ac89f6

Please sign in to comment.