-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (52 loc) · 2.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator</title>
<link rel="stylesheet" href="style.css">
<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=Roboto:wght@600&display=swap" rel="stylesheet">
</head>
<body>
<div class="calculator-container">
<div class="screen">0</div>
<div class="keys-container">
<div class="keys-1">
<span class="keys-item clear-key top-keys">C</span>
<span class="keys-item top-keys del-key">Del</span>
<span class="keys-item top-keys op-key">%</span>
<span class="keys-item side-keys op-key">/</span>
</div>
<div class="keys-2">
<span class="keys-item num-key">7</span>
<span class="keys-item num-key">8</span>
<span class="keys-item num-key">9</span>
<span class="keys-item side-keys op-key">*</span>
</div>
<div class="keys-3">
<span class="keys-item num-key">4</span>
<span class="keys-item num-key">5</span>
<span class="keys-item num-key">6</span>
<span class="keys-item side-keys op-key">-</span>
</div>
<div class="keys-4">
<span class="keys-item num-key">1</span>
<span class="keys-item num-key">2</span>
<span class="keys-item num-key">3</span>
<span class="keys-item side-keys op-key">+</span>
</div>
<div class="keys-5">
<span class="keys-item zero-key num-key">0</span>
<span class="keys-item num-key">.</span>
<span class="keys-item side-keys result-key">=</span>
</div>
</div>
<div class="credit">
Dimitrios Xynos<a href="https://github.com/dimitrisx26/js-calc-revised" target="_blank"><img class="git" src="./images/githubIcon.png" alt="" srcset=""></a>
</div>
<script src="script.js"></script>
</body>
</html>