-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (114 loc) · 6.15 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
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
<!DOCTYPE html>
<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">
<link rel="stylesheet" href="./styles/bootstrap.min.css">
<link rel="stylesheet" href="./styles/style.css">
<title>Simple Calculator width JS</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-10 col-sm-9 col-md-7 col-lg-5 col-xl-4 mr-auto ml-auto mt-70 pt-3">
<div id="calculator">
<div class="LED">
<p id="log">0</p>
<p id="LED-display">0</p>
</div><!-- LED -->
<div class="buttons">
<div class="row">
<div class="col">
<span id="x2" class="calculator-btn"><sup>2</sup></span>
</div>
<div class="col">
<span id="square" class="calculator-btn"></span>
</div>
<div class="col">
<span id="Parentheses-left" class="calculator-btn Parentheses">(</span>
</div>
<div class="col">
<span id="Parentheses-right" class="calculator-btn Parentheses">)</span>
</div>
<div class="col">
<span id="divide" class="calculator-btn operator">/</span>
</div>
</div><!-- row -->
<div class="row">
<div class="col">
<span id="percentage" class="calculator-btn operator">%</span>
</div>
<div class="col">
<span id="n7" class="calculator-btn numbers">7</span>
</div>
<div class="col">
<span id="n8" class="calculator-btn numbers">8</span>
</div>
<div class="col">
<span id="n9" class="calculator-btn numbers">9</span>
</div>
<div class="col">
<span id="multiplication" class="calculator-btn operator">*</span>
</div>
</div><!-- row -->
<div class="row">
<div class="col">
<span id="plus-minus" class="calculator-btn"></span>
</div>
<div class="col">
<span id="n4" class="calculator-btn numbers">4</span>
</div>
<div class="col">
<span id="n5" class="calculator-btn numbers">5</span>
</div>
<div class="col">
<span id="n6" class="calculator-btn numbers">6</span>
</div>
<div class="col">
<span id="minus" class="calculator-btn operator">-</span>
</div>
</div><!-- row -->
<div class="row last-row">
<div class="col">
<div class="row">
<div class="col">
<span id="c" class="calculator-btn">C</span>
</div>
<div class="col">
<span id="n1" class="calculator-btn numbers">1</span>
</div>
<div class="col">
<span id="n2" class="calculator-btn numbers">2</span>
</div>
<div class="col">
<span id="n3" class="calculator-btn numbers">3</span>
</div>
</div><!-- row -->
<div class="row">
<div class="col">
<span id="ce" class="calculator-btn">CE</span>
</div>
<div class="col">
<span id="n0" class="calculator-btn numbers">0</span>
</div>
<div class="col">
<span id="dot" class="calculator-btn">.</span>
</div>
<div class="col">
<span id="equal" class="calculator-btn">=</span>
</div>
</div><!-- row -->
</div><!-- col -->
<div class="col">
<span id="plus" class="calculator-btn operator">+</span>
</div>
</div><!-- row -->
</div><!-- buttons -->
</div>
</div><!-- col-10 col-sm-8 col-md-6 col-lg-5 col-xl-4 mr-auto ml-auto mt-70 p-3 -->
</div><!-- row -->
</div><!-- container -->
<script src="script/main.js"></script>
</body>
</html>