-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (68 loc) · 2.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Odin Calculator</title>
<link rel="stylesheet" href="style.css" />
<script src="./script.js" defer></script>
</head>
<body>
<div id="header">
<div id="header-title">Odin - Calculator</div>
<div id="header-author">Aachman Mittal</div>
</div>
<div id="main">
<div id="main-left">
<div id="calc-container">
<div id="calculator">
<div id="screen">
<span id="value-display">888888888.8</span>
<div id="sign-display">÷</div>
</div>
<div class="simple-line"></div>
<div id="button-container">
<div class="button-row">
<div class="button wide-button" data-value="clear" data-type="clear">CLEAR</div>
<!-- <div class="button wide-button"></div> -->
</div>
<div class="button-row">
<div class="button" data-value="7" data-type="digit">7</div>
<div class="button" data-value="8" data-type="digit">8</div>
<div class="button" data-value="9" data-type="digit">9</div>
<div class="button" data-value="/">÷</div>
</div>
<div class="button-row">
<div class="button" data-value="4" data-type="digit">4</div>
<div class="button" data-value="5" data-type="digit">5</div>
<div class="button" data-value="6" data-type="digit">6</div>
<div class="button" data-value="*" data-type="operator">×</div>
</div>
<div class="button-row">
<div class="button" data-value="1" data-type="digit">1</div>
<div class="button" data-value="2" data-type="digit">2</div>
<div class="button" data-value="3" data-type="digit">3</div>
<div class="button" data-value="-" data-type="operator">−</div>
</div>
<div class="button-row">
<div class="button" data-value="0">0</div>
<div class="button" data-value="." data-type="operator">.</div>
<div class="button" data-value="=" data-type="operator">=</div>
<div class="button" data-value="+" data-type="operator">+</div>
</div>
</div>
</div>
</div>
</div>
<!-- <div id="main-right"></div> -->
</div>
<div id="footer">
<div>
Made with love by
<a id="footer-author-link" href="https://github.com/AarKiMos" target="_blank">
AarKiMos!
</a>
</div>
</div>
</body>
</html>