-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculator.html
37 lines (37 loc) · 1.2 KB
/
calculator.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
<div class="calcContainer">
<div class="displayContainer">
<div class="calcDisplay">
<p class="displayOut">0</p>
</div>
</div>
<div class="keypadContainer">
<div class="btnRow">
<div class="calcBtn numberBtn">7</div>
<div class="calcBtn numberBtn">8</div>
<div class="calcBtn numberBtn">9</div>
<div class="calcBtn funcBtn">÷</div>
<div class="calcBtn clearBtn">C</div>
</div>
<div class="btnRow">
<div class="calcBtn numberBtn">4</div>
<div class="calcBtn numberBtn">5</div>
<div class="calcBtn numberBtn">6</div>
<div class="calcBtn funcBtn">*</div>
<div class="calcBtn funcBtn">%</div>
</div>
<div class="btnRow">
<div class="calcBtn numberBtn">1</div>
<div class="calcBtn numberBtn">2</div>
<div class="calcBtn numberBtn">3</div>
<div class="calcBtn funcBtn">-</div>
<div class="calcBtn funcBtn">1/x</div>
</div>
<div class="btnRow">
<div class="calcBtn numberBtn">.</div>
<div class="calcBtn numberBtn">0</div>
<div class="calcBtn funcBtn">=</div>
<div class="calcBtn funcBtn">+</div>
<div class="calcBtn funcBtn">√</div>
</div>
</div>
</div>