-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculator.html
77 lines (47 loc) · 1.86 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
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
<!DOCTYPE html>
<html>
<title>Calculator </title>
<link rel="stylesheet" type="text/css" href="calculator.css ">
</head>
<body>
<div id="calculator">
<div id ="heading"><h1>CALCULATOR</h1></div>
<div id="display">
<div id="value">0</div>
</div>
<div id="calfunc">
<div id=row1>
<div id="ac" class="r1">AC</div>
<div id="plusminus" class="r1">+/-</div>
<div id="percentage" class="r1">%</div>
<div id="divide" class="r1">/</div>
</div>
<div id=row2>
<div id="7" class="r2">7</div>
<div id="8" class="r2">8</div>
<div id="9" class="r2">9</div>
<div id="multiply" class="r2">*</div>
</div>
<div id=row3>
<div id="4" class="r3">4</div>
<div id="5" class="r3">5</div>
<div id="6" class="r3">6</div>
<div id="minus" class="r3">-</div>
</div>
<div id=row4>
<div id="1" class="r4">1</div>
<div id="2" class="r4">2</div>
<div id="3" class="r4">3</div>
<div id="plus" class="r4">+</div>
</div>
<div id=row5>
<div id="0" class="r5">0</div>
<div id="dot" class="r5">.</div>
<div id="equality" class="r5">=</div>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="calculator.js">
</script>
</html>