-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (72 loc) · 4 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
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE >
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator</title>
<link rel="stylesheet" href="styles.css">
<script src="javascript.js" defer></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="#">
</head>
<body>
<div class="headerContainer">
<h1 class="header">Calculator</h1>
<h3 class="subheader">With keyboard support</h3>
</div>
<div class="container">
<div class="display">
<div class="screen-container">
<div class="screen"></div>
</div>
<div class="row-one">
<button data-key ="55" class="key">7</button>
<button data-key ="56" class="key">8</button>
<button data-key ="57" class="key">9</button>
<button data-key ="67" class="key">C</button>
</div>
<div class="row-two">
<button data-key ="52" class="key">4</button>
<button data-key ="53" class="key">5</button>
<button data-key ="54" class="key">6</button>
<button data-key ="106" class="key">×</button>
</div>
<div class="row-three">
<button data-key ="49" class="key">1</button>
<button data-key ="50" class="key">2</button>
<button data-key ="51" class="key">3</button>
<button data-key ="111" class="key">÷</button>
</div>
<div class="row-four">
<button data-key ="48" class="key">0</button>
<button data-key ="188" class="key">,</button>
<button data-key ="107" class="key">+</button>
<button data-key ="109" class="key">-</button>
</div>
<div class="row-five">
<button data-key ="187" class="key" id="equal" >=</button>
</div>
</div>
<div class="footer"><div class="copyright"><a href = https://github.com/Kiwasthal>Copyright © Kiwasthal</a></div>
</div>
<audio data-key="48" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="49" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="50" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="51" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="52" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="53" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="54" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="55" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="56" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="57" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="67" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="106" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="107" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="109" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="111" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="188" id="keysound" src="sounds/mixkit-mechanical-typewriter-hit-1365.wav"></audio>
<audio data-key="187" id="equalsound" src="sounds/mixkit-typewriter-hard-hit-1367.wav"></audio>
</body>
</html>