-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (54 loc) · 2.09 KB
/
Copy pathindex.html
File metadata and controls
54 lines (54 loc) · 2.09 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="Calculator" content="width=device-width" />
<title>Calculator</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<main id="calc">
<div id="container">
<div id="display"></div>
<button type="button" class="clear" value="clear" data-key="8">
AC
</button>
<button type="button" class="sign" value="sign" data-key="192">
+/-
</button>
<button type="button" class="percent" value="percent" data-key="80">
%
</button>
<button type="button" class="operator" value="/" data-key="68">
/
</button>
<button type="button" class="operand" value="7" data-key="55">7</button>
<button type="button" class="operand" value="8" data-key="56">8</button>
<button type="button" class="operand" value="9" data-key="57">9</button>
<button type="button" class="operator" value="*" data-key="88">
*
</button>
<button type="button" class="operand" value="4" data-key="52">4</button>
<button type="button" class="operand" value="5" data-key="53">5</button>
<button type="button" class="operand" value="6" data-key="54">6</button>
<button type="button" class="operator" value="-" data-key="173">
-
</button>
<button type="button" class="operand" value="1" data-key="49">1</button>
<button type="button" class="operand" value="2" data-key="50">2</button>
<button type="button" class="operand" value="3" data-key="51">3</button>
<button type="button" class="operator" value="+" data-key="61">
+
</button>
<button type="button" id="zero" class="operand" value="0" data-key="48">
0
</button>
<button type="button" class="decimal" value="." data-key="190">
.
</button>
<button type="button" class="equals" value="=" data-key="69">=</button>
</div>
</main>
<script src="script.js"></script>
</body>
</html>