-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (49 loc) · 2.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<link rel="stylesheet" href="style.css">
<body>
<h1>Project:1</h1>
<div class="cointainer">
<div class="calculator">
<div class="it active" id="hpage">
<div class="hdisplay"><h1>History</h1>
<p id="hdisplay"></p></div></div>
<div class="clogo"> <h1>Calculator</h1><div class="hist" onclick="openit()"></div>
</div>
<div class="result-box" id="r-box">
<div class="result" id="result"></div>
</div>
<div class="number-box">
<div class="number">
<input type="button" class="button" value="1" onclick="number('1')">
<input type="button" class="button" value="2" onclick="number('2')">
<input type="button" class="button" value="3" onclick="number('3')">
<input type="button" class="button" value="4" onclick="number('4')">
<input type="button" class="button" value="5" onclick="number('5')">
<input type="button" class="button" value="6" onclick="number('6')">
<input type="button" class="button" value="7" onclick="number('7')">
<input type="button" class="button" value="8" onclick="number('8')">
<input type="button" class="button" value="9" onclick="number('9')">
<input type="button" class="btn-zero" value="0" onclick="number('0')">
<input type="button" class="btn-zero" value="." onclick="number('.')">
</div> <div class="btn-operator">
<input type="button" class="button-operate" value="+" onclick="number('+')">
<input type="button" class="button-operate" value="-" onclick="number('-')">
<input type="button" class="button-operate" value="*" onclick="number('*')">
<input type="button" class="button-operate" value="/" onclick="number('/')">
<input type="button" class="button-manage" value="<-" onclick="back()">
<input type="button" class="button-manage" value="AC" onclick="cl()">
<input type="button" class="button-equal" value="=" onclick="output()">
</div>
</div>
</div>
</div>
</body>
<script src="script.js"></script>
</html>