From cb60aeea54c6b2978fb8ba2e8fe6fa645001f16d Mon Sep 17 00:00:00 2001 From: Pownieh Date: Fri, 3 Mar 2023 12:39:15 +0100 Subject: [PATCH] put the selection of numbers in its own file --- group_numbers.js | 4 ++++ index.html | 7 ++++--- script.js | 5 ----- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 group_numbers.js diff --git a/group_numbers.js b/group_numbers.js new file mode 100644 index 0000000..76f057f --- /dev/null +++ b/group_numbers.js @@ -0,0 +1,4 @@ +const display = [6,7,8,9] +const not_pickable = [ + 6, +] \ No newline at end of file diff --git a/index.html b/index.html index bf714b1..591ee5c 100644 --- a/index.html +++ b/index.html @@ -24,9 +24,10 @@ -

+

Tryk Spin for at rulle hjulet!

- - + + + \ No newline at end of file diff --git a/script.js b/script.js index 814c259..75a80dc 100644 --- a/script.js +++ b/script.js @@ -3,11 +3,6 @@ const spinWheel = document.getElementById("spinWheel"); const spinBtn = document.getElementById("spin_btn"); const text = document.getElementById("text"); -const display = [1,2,3,4] -const not_pickable = [ - 2,3,4 -] - let spinValues_func = (display) => { let return_values = []; let idx = 0;