put the selection of numbers in its own file
This commit is contained in:
parent
75f58402a8
commit
cb60aeea54
4
group_numbers.js
Normal file
4
group_numbers.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
const display = [6,7,8,9]
|
||||
const not_pickable = [
|
||||
6,
|
||||
]
|
|
@ -24,9 +24,10 @@
|
|||
<button id="spin_btn">Spin</button>
|
||||
<i class="fa-solid fa-location-arrow"></i>
|
||||
</div>
|
||||
<div id="text"><p> </p></div>
|
||||
<div id="text"><p>Tryk Spin for at rulle hjulet!</p></div>
|
||||
</div>
|
||||
<!--------------- SCRIPT --------------------->
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
<script src="group_numbers.js"></script>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user