-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (45 loc) · 2.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tower</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h3 class="movesdisplay">Number of Moves : <span id="numberofmovesentry">9</span><button style="margin-left: 10px" onclick="window.location.reload()">New Game</button></h3>
<h3 style="display: none;position:absolute;left:20px;top:-30px;font-size: 50px;color:green" id="wontext">YOU WON!</h3>
<h3 style="display: none;position:absolute;left:20px;top:-30px;font-size: 50px;color:green" id="wontext">MADE BY ALI ZAIN</h3>
<div class="maincon">
<div class="linecon">
<div class="line">
</div>
<div class="disccontainer" id="line1container">
<div class="disc" onclick="HoldDisc('3')" id="3" style="width: 10rem !important;" disccontainerlinename="line1" >
</div>
<div class="disc" onclick="HoldDisc('2')" id="2" style="width: 8rem !important;" disccontainerlinename="line1">
</div>
<div class="disc" onclick="HoldDisc('1')" id="1" style="width: 6rem !important;" disccontainerlinename="line1">
</div>
</div>
<button class="placebtn" id="line1btn" onclick="placeDisc('line1')">Place</button>
</div>
<div class="linecon">
<div class="line">
</div>
<div class="disccontainer" id="line2container" >
</div>
<button class="placebtn" id="line2btn" onclick="placeDisc('line2')">Place</button>
</div>
<div class="linecon" >
<div class="line">
</div>
<div class="disccontainer" id="line3container">
</div>
<button class="placebtn" id="line3btn" onclick="placeDisc('line3')">Place</button>
</div>
</div>
<script src="main.js"></script>
</body>
</html>