-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (34 loc) · 2.07 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
<!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>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="container">
<input id="input_screen"></input>
<input class="btn" onclick="clearAll()" type="button" value="AC" id="delet"></input>
<input class="btn" onclick="deleteAll()" type="button" value="→" id="delete"></input>
<input class="btn" onclick="displayNumbers(division)" type="button" value="÷" id="division"> </input>
<input class="btn" onclick="displayNumbers(percent)" type="button" value="%" id="percent"></input>
<input class="btn" onclick="displayNumbers(plus)" type="button" value="+" id="plus"></input>
<input class="btn" onclick="displayNumbers(minus)" type="button" value="-" id="minus"></input>
<input class="btn" onclick="displayNumbers(seven)" type="button" value="7" id="seven"></input>
<input class="btn" onclick="displayNumbers(eight)" type="button" value="8" id="eight"></input>
<input class="btn" onclick="displayNumbers(nine)" type="button" value="9" id="nine"></input>
<input class="btn" onclick="displayNumbers(four)" type="button" value="4" id="four"></input>
<input class="btn" onclick="displayNumbers(five)" type="button" value="5" id="five"></input>
<input class="btn" onclick="displayNumbers(six)" type="button" value="6" id="six"></input >
<input class="btn" onclick="displayNumbers(one)" type="button" value="1" id="one"></input>
<input class="btn" onclick="displayNumbers(two)" type="button" value="2" id="two"></input>
<input class="btn" onclick="displayNumbers(three)" type="button" value="3" id="three"></input>
<input class="btn" onclick="displayNumbers(zero)" type="button" value="0" id="zero"></input>
<input class="btn" onclick="displayNumbers(dot)" type="button" value="." id="dot"></input>
<input class="btn" onclick="caluclatin()" type="button" value="=" id="shave"></input>
</div>
<script src="main.js"></script>
</body>
</html>