-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlotto.html
103 lines (103 loc) · 2.18 KB
/
lotto.html
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html>
<head>
<title>Lotto Raffle</title>
<style>
#yellow {
background: rgb(255, 187, 0);
width: 100px;
height: 100px;
border-radius: 50%;
float: left;
margin: 20px;
text-align: center;
line-height: 100px;
font-size: 40px;
color: white;
}
#blue {
background: rgb(50, 50, 255);
width: 100px;
height: 100px;
border-radius: 50%;
float: left;
margin: 20px;
text-align: center;
line-height: 100px;
font-size: 40px;
color: white;
}
#red {
background: rgb(255, 55, 55);
width: 100px;
height: 100px;
border-radius: 50%;
float: left;
margin: 20px;
text-align: center;
line-height: 100px;
font-size: 40px;
color: white;
}
#grey {
background: rgb(128, 128, 128);
width: 100px;
height: 100px;
border-radius: 50%;
float: left;
margin: 20px;
text-align: center;
line-height: 100px;
font-size: 40px;
color: white;
}
#green {
background: rgb(0, 128, 0);
width: 100px;
height: 100px;
border-radius: 50%;
float: left;
margin: 20px;
text-align: center;
line-height: 100px;
font-size: 40px;
color: white;
}
#lottoBtn {
margin-top: 40px;
margin-bottom: 100px;
border-radius: 30px;
font-size: xx-large;
width: 200px;
height: 100px;
border: grey outset;
background: rgb(0, 163, 136);
color: rgb(228, 228, 228);
}
#lottoTable {
margin: 0 auto;
width: 840px;
}
#analysisLotto {
position: relative;
margin: 0 auto;
width: 900px;
}
#lottoInput {
width: 200px;
height: 25px;
border-radius: 30px;
}
</style>
</head>
<body>
<center>
<br><br>
<input type="number" id="lottoInput" placeholder="Enter the number of cases" min="1"><br>
<button type="button" id="lottoBtn" onclick="analysis()">Lotto Analysis</button><br>
</center>
<div id="analysisLotto"></div><br>
<div id="lottoTable"></div>
<script src="./lotto.js"></script>
</body>
</html>