-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (58 loc) · 2 KB
/
index.html
File metadata and controls
61 lines (58 loc) · 2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<title>Lift Simulation : Rishabh Kumar</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body class="flx">
<div class="settings">
<div class="prompt">
<label class="ipt-box" id="floor-data">
<input type="number" placeholder=" " min="1" value="8"/>
<span class="lbl">Floors?</span>
</label>
<label class="ipt-box" id="lift-data">
<input type="number" placeholder=" " min="1" value="2"/>
<span class="lbl">Lifts?</span>
</label>
<label class="ipt-box" id="speed-data">
<input type="number" placeholder=" " max="10" min="1" value="4"/>
<span class="lbl">Speed?</span>
</label>
</div>
<div class="actions">
<button class="gen">Generate</button>
<button class="rst">Reset Simulation</button>
</div>
</div>
<div id="template" style="display: none;">
<div class="level flx"></div>
<div class="floor flx" style="flex-direction: column;">
<b class="nm">{{FLOOR}}<sup>{{POW}}</sup> Floor</b>
<div class="cmd flx">
<div class="up flx" style="--d: -1;">
<img src="assets/up.png" alt="Go UP">
<b>Up</b>
</div>
<div class="down flx">
<img src="assets/down.png" alt="Go Down">
<b>Down</b>
</div>
</div>
</div>
<div class="lift flx">
<div class="udoor"></div>
<div class="ddoor"></div>
</div>
</div>
<div class="apartment flx">
<div class="building"></div>
<div class="base">
Made by: Rishabh Kumar
</div>
</div>
<script src="script.js"></script>
</body>
</html>