-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (78 loc) · 2.72 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Scoreboard Game</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<h1>-: Scoreboard Game :-</h1>
<div id="main" class="main">
<div id="inputfeild" class="inputfeild">
<input class="inputvalue" type="number" value="1" id="inp" />
<button class="btnmain" onclick="btnmain()" id="btnmainv">OK</button>
</div>
<div class="displymain" id="dismain"></div>
<div id="players" class="players">
<div id="playnow" class="playnow">
<div id="playone" class="playone">
<div class="playname" id="playnamesty">
<h1 id="ple">Player 1</h1>
<input
placeholder="please put your name"
class="inputname"
type="text"
id="inpname"
/>
<!-- <button onclick="nameoneis()" id="namesave" class="namesave">
save
</button> -->
</div>
<div id="namedis" class="namedisp"></div>
<div id="playonen" class="playonen">
<div class="disply1" id="dis1"></div>
<button class="btnpos" onclick="btn1()" id="btn1">+</button>
<button class="btnneg" onclick="btn1s()" id="btn1vb">-</button>
</div>
</div>
<div id="playtwo" class="playtwo">
<div class="playname" id="playnamestye">
<h1 id="ple">Player 2</h1>
<input
placeholder="please put your name"
class="inputname"
type="text"
id="inpnametwo"
/>
<!-- <button onclick="nametwois()" id="namesave" class="namesave">
save
</button> -->
</div>
<div id="nametwodis" class="namedisp"></div>
<div id="playtwon" class="playtwon">
<div class="disply2" id="dis2"></div>
<button class="btnpos" onclick="btn2()" id="btn2">+</button>
<button class="btnneg" onclick="btn2s()" id="btn2vb">-</button>
</div>
</div>
</div>
<button
style="width: 300px"
onclick="nametwois()"
id="namesave"
class="namesave"
>
save
</button>
</div>
<div class="space-bro" id="space-bro">
<h1 class="result" id="result"></h1>
<button onclick="restartnow()" class="restart" id="restart">
<a href="./index.html">Restart</a>
</button>
</div>
</div>
<script src="./app.js"></script>
</body>
</html>