-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (60 loc) · 2.27 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="manifest" href="manifest.json">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>iOS Calculator</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="background">
</div>
<div class="calculator">
<div class="top-container">
<div class="clock">
<span class="hour"></span>:<span class="minute"></span>
</div>
<div class="status">
<img src="img/status.png" alt="status-icons">
</div>
</div>
<div class="instructions">
<h4>Keyboard shortcut map</h4>
<p> [AC]: Esc key </p>
<p> [+/-]: p key</p>
<p> [=]: Enter key</p><br />
<p>Operators and numbers are mapped with its assigned key.</p><br />
<p>Touch display to copy result. ⬇️</p>
</div>
<div class="display">0</div>
<div class="buttons-container">
<div class="button function ac">AC</div>
<div class="button function pm">+/-</div>
<div class="button function percent">%</div>
<div class="button operator division">÷</div>
<div class="button number-7">7</div>
<div class="button number-8">8</div>
<div class="button number-9">9</div>
<div class="button operator multiplication">×</div>
<div class="button number-4">4</div>
<div class="button number-5">5</div>
<div class="button number-6">6</div>
<div class="button operator subtraction">−</div>
<div class="button number-1">1</div>
<div class="button number-2">2</div>
<div class="button number-3">3</div>
<div class="button operator addition">+</div>
<div class="button number-0">0</div>
<div class="button decimal">.</div>
<div class="button operator equal">=</div>
</div>
<div class="bottom"></div>
</div>
<script type="module" src="js/app.js"></script>
</body>
</html>