-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
executable file
·69 lines (68 loc) · 2.7 KB
/
home.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
<!DOCTYPE html>
<html>
<head>
<title>Catan Stats</title>
<script src="https://cdn.anychart.com/releases/8.2.1/js/anychart-base.min.js"></script>
</head>
<body>
<script src="home.js"></script>
<table border="1" id="table">
<thead>
<tr>
<th>Number</th>
<th>Frequency</th>
</tr>
</thead>
<tbody>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=2>2</button></td>
<td><a id="2p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=3>3</button></td>
<td><a id="3p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=4>4</button></td>
<td><a id="4p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=5>5</button></td>
<td><a id="5p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=6>6</button></td>
<td><a id="6p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=7>7</button></td>
<td><a id="7p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=8>8</button></td>
<td><a id="8p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=9>9</button></td>
<td><a id="9p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=10>10</button></td>
<td><a id="10p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=11>11</button></td>
<td><a id="11p">0</a></td>
</tr>
<tr>
<td><button type="button" onClick="onClick(this.id)" id=12>12</button></td>
<td><a id="12p">0</a></td>
</tr>
</tbody>
</table>
<br><br>
<button type="button" onClick="gen()">done</button>
<br><br><br>
<div id="container" style="width: 500px; height:400px;"></div>
</body>
</html>