-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (54 loc) · 1.63 KB
/
index.html
File metadata and controls
63 lines (54 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Roulette!</title>
<link rel="stylesheet" href="styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
<script type="text/javascript" src="script.js"></script>
</head>
<body id="body">
<div class="top">
<p id="colour">Colour Selected:(Please Select!)</p>
<p id="money">Money: $1000</p>
</div>
<div id="table">
<div id="sides" style="display: grid; grid-template-columns: auto auto">
<div id="text">
<p>ROULETTE!</p>
<div id="spin">
<button id="spin-button" type="button" onclick="spin()">
Spin Wheel!
</button>
</div>
</div>
<div>
<div id="spin-circle"></div>
<div id="pin"></div>
</div>
</div>
</div>
<div id="bet-inputs">
<input
type="number"
id="bet-amount"
placeholder="Bet amount"
min="1"
value=""
/>
</div>
<div id="color-buttons">
<button id="red-button" type="button" onclick="red()">Red</button>
<button id="black-button" type="button" onclick="black()">Black</button>
</div>
<div style="margin: auto; width: 500px; height: 100px; font-size: medium">
<p id="result"></p>
</div>
</body>
</html>