-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (73 loc) · 3.26 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
85
86
87
88
89
90
91
<!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>Document</title>
<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@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css">
<script src="js/script.js" defer></script>
</head>
<body>
<div class="container">
<div class="calculator">
<div class='displayBar'>
<div class="display">0</div>
</div>
<div class="buttons">
<div class="row row1">
<button class="numButton acButton">AC</button>
<button class="numButton delButton" ID="Del">▶</button>
<button class="numButton">+/-</button>
<button class="numButton">%</button>
</div>
<div class="row row2">
<button class="numButton number">7</button>
<button class="numButton number">8</button>
<button class="numButton number">9</button>
<button class="numButton operation">/</button>
</div>
<div class="row row3">
<button class="numButton number">4</button>
<button class="numButton number">5</button>
<button class="numButton number">6</button>
<button class="numButton operation">*</button>
</div>
<div class="row row4">
<button class="numButton number">1</button>
<button class="numButton number">2</button>
<button class="numButton number">3</button>
<button class="numButton operation">-</button>
</div>
<div class="row row5">
<button class="numButton number">0</button>
<button class="numButton dot">.</button>
<button class="numButton equal">=</button>
<button class="numButton operation">+</button>
</div>
</div>
</div>
<div class="InstruContainer">
<div class="instructionTitle">
<h1 class="title">Keyboard Commands</h1>
</div>
<div class="instructionBody">
<p>Use <strong>[ Enter ] key</strong> or <strong>[ = ] key</strong> for equal button</p>
<p>Use <strong>[ TAB ] key </strong>for the " +/- " button</p>
<p>To <em>delete</em> the last character use <strong>[ Backspace ] key</strong></p>
<p>To <em>reset</em> the calculator use <strong>[ DEL ] key</strong></p>
</div>
</div>
</div>
<div class="footer">
<p class="footnote">
Jqyoung © 2022
</p>
<a href="https://github.com/Jqyoung" target="_blank"><img src="img/GitHub-Mark-Light-120px-plus.png"
alt="Github" class="icon"></a>
</div>
</body>
</html>