-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (63 loc) · 3.29 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js"> <!--<![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- area for instructions and notepad -->
<div></div>
<div id="calculator">
<div id="display">
<div id="display-top"></div>
<div id="display-bottom"></div>
</div>
<div id="calculator-body">
<div id="header-body">
<button type="button" id="clear-current" value="ce">CE</button>
<button type="button" id="clear-all" value="c">C</button>
<button type="button" id="percent" value="%">%</button>
</div>
<div id="subhead-body">
<button type="button" id="plus-minus" value="+/-">+/-</button>
<button type="button" id="exponent" value="^">^</button>
<button type="button" id="divide" value="/" data-key="111">/</button>
</div>
<div id="num-body">
<button type="button" id="9" value="9" data-key="57">9</button>
<button type="button" id="8" value="8" data-key="56">8</button>
<button type="button" id="7" value="7" data-key="55">7</button>
<button type="button" id="4" value="4" data-key="52">4</button>
<button type="button" id="5" value="5" data-key="53">5</button>
<button type="button" id="6" value="6" data-key="54">6</button>
<button type="button" id="3" value="3" data-key="51">3</button>
<button type="button" id="2" value="2" data-key="50">2</button>
<button type="button" id="1" value="1" data-key="49">1</button>
</div>
<div class="operator-body">
<button type="button" id="remove" value="back" data-key="8">BACK</button>
<button type="button" id="multiply" value="*" data-key="106">*</button>
<button type="button" id="subtract" value="-" data-key="109">-</button>
<button type="button" id="add" value="+" data-key="107">+</button>
</div>
<button type="button" id="zero" value="0" data-key="48">0</button>
<button type="button" id="dot" value="." data-key="110">.</button>
<button type="button" id="equal" value="=" data-key="187">=</button>
</div>
</div>
<!-- <div id="color-switch">
</div> -->
<script src="main.js" async defer></script>
</body>
</html>