-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (53 loc) · 2.01 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
<!DOCTYPE html>
<html>
<head>
<title>Calculator</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles/style.css" />
</head>
<body>
<header>
<h1>Calculator</h1>
</header>
<main>
<div id="container">
<div id="display">
<div id="memory"></div>
<div id="output"></div>
</div>
<!-- Operations -->
<div id="ac" class="actions" data-key="46">AC</div>
<div id="backspace" class="actions" data-key="8">DEL</div>
<div id="positive-negative" class="actions" data-key="220">+/-</div>
<div id="percentage" class="actions">%</div>
<div id="division" class="actions" data-key="111">/</div>
<div id="multiplication" class="actions" data-key="106">*</div>
<div id="subtraction" class="actions" data-key="173">-</div>
<div id="addition" class="actions" data-key="107">+</div>
<div id="equals" class="actions" data-key="61">=</div>
<!-- Digits -->
<div id="one" class="digits" data-key="49">1</div>
<div id="two" class="digits" data-key="50">2</div>
<div id="three" class="digits" data-key="51">3</div>
<div id="four" class="digits" data-key="52">4</div>
<div id="five" class="digits" data-key="53">5</div>
<div id="six" class="digits" data-key="54">6</div>
<div id="seven" class="digits" data-key="55">7</div>
<div id="eight" class="digits" data-key="56">8</div>
<div id="nine" class="digits" data-key="57">9</div>
<div id="zero" class="digits" data-key="48">0</div>
<div id="dot" class="digits" data-key="190">.</div>
</div>
<aside id="left"></aside>
<aside id="right"></aside>
</main>
<footer>
made by
<a href="https://github.com/alternateved" target="”_blank”"
>alternateved ∆</a
>
</footer>
<script src="scripts/script.js"></script>
</body>
</html>