-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
171 lines (145 loc) · 6.09 KB
/
index.html
File metadata and controls
171 lines (145 loc) · 6.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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title>JavaScript Calculator By PSD</title>
</head>
<body>
<div id="container" class="container">
<div>
<h1>JavaScript Calculator</h1>
</div>
<div id="expression">
</div>
<div id="standard-buttons" class="container-fluid" style="margin-left: 21px;">
<div class="row button-row">
<div class="col-xs-1">
<button id="num-7" class="btn button-orange num" title="7">7</button>
</div>
<div class="col-xs-1">
<button id="num-8" class="btn button-orange num" title="8">8</button>
</div>
<div class="col-xs-1">
<button id="num-9" class="btn button-orange num" title="9">9</button>
</div>
<div class="col-xs-1">
<button id="op-divide" class="btn d" title="Divide">÷</button>
</div>
<div class="col-xs-1">
<button id="bracket-left" class="btn d" title="Open bracket">(</button>
</div>
<div class="col-xs-1">
<button id="bracket-right" class="btn d" title="Closed bracket">)</button>
</div>
<div class="col-xs-1">
<button id="clear" class="btn button-orange" title="Clear all">AC</button>
</div>
</div>
<div class="row button-row">
<div class="col-xs-1">
<button id="num-4" class="btn button-orange num" title="4">4</button>
</div>
<div class="col-xs-1">
<button id="num-5" class="btn button-orange num" title="5">5</button>
</div>
<div class="col-xs-1">
<button id="num-6" class="btn button-orange num" title="6">6</button>
</div>
<div class="col-xs-1">
<button id="op-multiply" class="btn d" title="Multiply">x</button>
</div>
<div class="col-xs-1">
<button id="factorial-L" class="btn d" title="! Looping">!</button>
</div>
<div class="col-xs-1">
<button id="Rem" class="btn d" title="Remaining">Rem</button>
</div>
<div class="col-xs-1">
<button id="delete" class="btn button-orange " title="Delete">DEL</button>
</div>
</div>
<div class="row button-row">
<div class="col-xs-1">
<button id="num-1" class="btn button-orange num" title="1">1</button>
</div>
<div class="col-xs-1">
<button id="num-2" class="btn button-orange num" title="2">2</button>
</div>
<div class="col-xs-1">
<button id="num-3" class="btn button-orange num" title="3">3</button>
</div>
<div class="col-xs-1">
<button id="op-subtract" class="btn d" title="Subtract">-</button>
</div>
<div class="col-xs-1">
<button id="Greater-Than" class="btn d" title="Greater-Than">></button>
</div>
<div class="col-xs-1">
<button id="GE" class="btn d" title="greater than or equal to">> =</button>
</div>
<div class="col-xs-1">
<button id="equals" class="btn button-orange" title="Equals">=</button>
</div>
</div>
<div class="row button-row">
<div class="col-xs-1">
<button id="period" class="btn button-orange" title="Decimal point">.</button>
</div>
<div class="col-xs-1">
<button id="num-0" class="btn button-orange num" title="0">0</button>
</div>
<div class="col-xs-1">
<button id="op-negate" class="btn button-orange" title="Negate">(-)</button>
</div>
<div class="col-xs-1">
<button id="op-add" class="btn d" title="Add">+</button>
</div>
<div class="col-xs-1">
<button id="op-square-root" class="btn d" title="Square root">√</button>
</div>
<div class="col-xs-1">
<button id="EE" class="btn d" title=" equal to">= =</button>
</div>
<div class="col-xs-1">
<button id="LE" class="btn d" title="less than or equal to">< =</button>
</div>
</div>
<div class="row button-row">
</div>
<div class="row button-row">
</div>
<div class="row button-row">
<div class="col-xs-1">
<button id="comma" class="btn button-orange" title="Comma"> , </button>
</div>
<div class="col-xs-1">
<button id="NE" class="btn d" title=" not equal">! =</button>
</div>
<div class="col-xs-1">
<button id="min" class="btn" title="Minimum">Min</button>
</div>
<div class="col-xs-1">
<button id="max" class="btn" title="Maximum">Max</button>
</div>
<div class="col-xs-1">
<button id="avg" class="btn" title="Average">Avg</button>
</div>
<div class="col-xs-1">
<button id="Less-Than" class="btn d" title="Less-Than"><</button>
</div>
<div class="col-xs-1">
<button id="factorial-R" class="btn d" title="! Recursion">! (R)</button>
</div>
</div>
</div>
<div id="footer">
Created By <a href="https://mepsd.magixclicks.com" target="_blank">Paras Suthar Darji</a>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
</body>
</html>
<script src="script.js"></script>