-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (58 loc) · 3.3 KB
/
Copy pathindex.html
File metadata and controls
58 lines (58 loc) · 3.3 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
55
56
57
58
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Simple Calculator</title>
<link rel="stylesheet" href="assests/css/main.css">
</head>
<body>
<div class="parent-container">
<div class="center-container visible-border">
<div class="text-center">
<h1 class="title">Simple Calulator</h1>
</div>
<form id="calculator">
<div class="canvas">
<input id="solve-sheet" type="text" value="0" autocomplete="off">
<input id="answer-sheet" type="text" value="" autocomplete="off" readonly>
</div>
<div class="btn-group">
<div class="row">
<button class="calc-btn special-btn calc-input" role="" value="(">(</button>
<button class="calc-btn special-btn calc-input false-start" role="" value=")">)</button>
<button class="calc-btn special-btn calc-input false-start operator" role="" value="%">%</button>
<button id="clear-spread" class="calc-btn special-btn" role="" value="DEL">DEL</button>
</div>
<div class="row">
<button class="calc-btn calc-input" role="+" value="7">7</button>
<button class="calc-btn calc-input" role="-" value="8">8</button>
<button class="calc-btn calc-input" role="/" value="9">9</button>
<button class="calc-btn special-btn calc-input false-start operator" role="x" value="÷">÷</button>
</div>
<div class="row">
<button class="calc-btn calc-input" role="9" value="4">4</button>
<button class="calc-btn calc-input" role="8" value="5">5</button>
<button class="calc-btn calc-input" role="7" value="6">6</button>
<button class="calc-btn special-btn calc-input false-start operator" role="x" value="x">x</button>
</div>
<div class="row">
<button class="calc-btn calc-input" role="5" value="1">1</button>
<button class="calc-btn calc-input" role="4" value="2">2</button>
<button class="calc-btn calc-input" role="3" value="3">3</button>
<button class="calc-btn special-btn calc-input operator" role="2" value="-">-</button>
</div>
<div class="row">
<button class="calc-btn calc-input" role="1" value=".">.</button>
<button class="calc-btn calc-input" role="0" value="0">0</button>
<button id="calculate" class="calc-btn" role="=" value="=">=</button>
<button class="calc-btn special-btn calc-input operator" role="+" value="+">+</button>
</div>
</div>
</form>
</div>
</div>
<div id="signature"><img src="assests/img/signature.png" width="80px" alt="Joseph Signature"></div>
<script src="assests/js/script.js"></script>
</body>
</html>