-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (52 loc) · 2.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="styles/normalize.css">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<title>Calculator</title>
</head>
<body>
<div id="main">
<div id="calculator">
<div id="menu">
<button class="button" id="navBtn">☰</button>
<span id="calcType">Standard</span>
</div>
<div id="display">
<div id="previous">123456789 + 987654321</div>
<div id="current">123.456.789</div>
</div>
<div id="buttons">
<button class="button" id="percentage"> % </button>
<button class="button" id="root"> √ </button>
<button class="button" id="square"> x<sup id="twoSquare">2</sup> </button>
<button class="button" id="fraction"><span id="oneFraction">⅟</span><span>x</span></button>
<button class="button" id="clear"> CE </button>
<button class="button" id="clearAll"> C </button>
<button class="button" id="factorial"> x! </button>
<button class="button operator" id="divide"> ÷ </button>
<button class="button digit" id="7"> 7 </button>
<button class="button digit" id="8"> 8 </button>
<button class="button digit" id="9"> 9 </button>
<button class="button operator" id="multiply"> × </button>
<button class="button digit" id="4"> 4 </button>
<button class="button digit" id="5"> 5 </button>
<button class="button digit" id="6"> 6 </button>
<button class="button operator" id="subtract"> - </button>
<button class="button digit" id="1"> 1 </button>
<button class="button digit" id="2"> 2 </button>
<button class="button digit" id="3"> 3 </button>
<button class="button operator" id="add"> + </button>
<button class="button operator" id="sign"> ± </button>
<button class="button digit" id="0"> 0 </button>
<button class="button" id="dot"> . </button>
<button class="button" id="equal"> = </button>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>