-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (62 loc) · 2.06 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
<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>Calculator</title>
<link rel="stylesheet" href="/style.css">
<script src="/script.js"></script>
</head>
<body>
<div class="main-box">
<div class="before"></div>
<div class="display-text">
<input class="textt" type="text" id="textField" >
</div>
<div class="button-group">
<div class="buttons">
<div >
<input id="btn1" type="button" onclick="calc('1');" value="1" >
</div>
<div >
<input id="btn2" type="button" onclick="calc('2');" value="2">
</div>
<div >
<input id="btn3" type="button" onclick="calc('3');" value="3">
</div>
<div >
<input id="btn4" type="button" onclick="calc('4');" value="4">
</div>
</div>
<div class="buttons">
<div >
<input id="btn5" type="button" onclick="calc('5');" value="5">
</div>
<div >
<input id="btn6" type="button" onclick="calc('6');" value="6">
</div>
<div >
<input id="btn7" type="button" onclick="calc('7');" value="7">
</div>
<div >
<input id="btn8" type="button" onclick="calc('8');" value="8">
</div>
</div>
<div class="buttons">
<div >
<input id="btn9" type="button" onclick="calc('9');" value="9">
</div>
<div >
<input id="equal" type="button" onclick="evall('=');" value="=">
</div>
<div >
<input id="addd" type="button" onclick="calc('+');" value="+">
</div>
<div >
<input type="button" onclick="clearScreen();" value="c">
</div>
</div>
</div>
</div>
</body>
</html>