-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (50 loc) · 2.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Calculator</h1>
<div class='calcBox'>
<p class="resultBox" id="result"> </p>
<p class="totalBox" id="total"></p>
<p class="input" type="text" id="input">0</p>
<button class="button hidden"></button>
<button class="button hidden"></button>
<button class="button calculation" id="reset" value="Delete">C</button>
<button class="button calculation" id="sqrt" value="sqrt">²√x</button>
<button class="button calculation" id="pow" value="pow">x²</button>
<button class="button calculation" id="m" value="m">M</button>
<button class="button calculation" id="multiplication" value='*'>*</button>
<button class="button calculation" id="resetCE" value="ce">CE</button>
<button class="button digit" id="7" value="7">7</button>
<button class="button digit" id="8" value="8">8</button>
<button class="button digit" id="9" value="9">9</button>
<button class="button calculation" id="plus" value='+'>+</button>
<button class="button calculation" id="percent" value="%">%</button>
<button class="button digit" id="4" value="4">4</button>
<button class="button digit" id="5" value="5">5</button>
<button class="button digit" id="6" value="6">6</button>
<button class="button calculation" id="minus" value='-'>-</button>
<button class="button hidden"></button>
<button class="button digit" id="1" value="1">1</button>
<button class="button digit" id="2" value="2">2</button>
<button class="button digit" id="3" value="3">3</button>
<button class="button calculation" id="division" value='/'>/</button>
<button class="button hidden"></button>
<button class="button digit" id="plusminus" value="plusminus">+/-</button>
<button class="button digit" id="0" value="0">0</button>
<button class="button digit" id="comma" value=".">,</button>
<button class="button calculation" id="result" value='Enter'>=</button>
</div>
<button class="clear" id="clear">Clear list</button>
<ul class="operationlist" id='operationlist'>Operation's list
</ul>
</div>
<script src="script.js"></script>
</body>
</html>