-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (54 loc) · 2.22 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="calculator.css"/>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap" rel="stylesheet">
<title>Calculator App</title>
</head>
<body>
<div class="calculator">
<div class="display">
<div class="display-group">
<button class="clear-btn">CE</button>
<input class="display-input" type="text" value="0" readonly />
</div>
<input class="memory-input" type='text' value="MEM: 0" readonly/>
</div>
<div class="pad">
<div class="btn-group">
<button class="memory">MC</button>
<button class="memory">M+</button>
<button class="memory">M-</button>
<button class="memory">MR</button>
</div>
<div class="btn-group">
<button>7</button>
<button>8</button>
<button>9</button>
<button class="operation">/</button>
</div>
<div class="btn-group">
<button>4</button>
<button>5</button>
<button>6</button>
<button class="operation">x</button>
</div>
<div class="btn-group">
<button>1</button>
<button>2</button>
<button>3</button>
<button class="operation">-</button>
</div>
<div class="btn-group">
<button>0</button>
<button>.</button>
<button>=</button>
<button class="operation">+</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="./calculator.js"></script>
</body>
</html>