-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (50 loc) · 2.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Calculator using HTML,CSS, JS</title>
<link rel="stylesheet" href="stjyle.css">
</head>
<body>
<div class="container">
<div class="calculator">
<form>
<div class="display">
<input type="text" id="display" value="">
</div>
<div>
<input type="button" value="AC" class = "operator row1 btn">
<input type="button" value="DE" class = "operator row1 btn">
<input type="button" value="." class = "operator row1 btn">
<input type="button" value="/" class = " colLast btn">
</div>
<div>
<input type="button" value="7" class = "btn">
<input type="button" value="8" class = "btn">
<input type="button" value="9" class = "btn">
<input type="button" value="*" class = "colLast btn">
</div>
<div>
<input type="button" value="4" class = "btn">
<input type="button" value="5" class = "btn">
<input type="button" value="6" class = "btn">
<input type="button" value="-" class = "colLast btn">
</div>
<div>
<input type="button" value="1" class = "btn">
<input type="button" value="2" class = "btn">
<input type="button" value="3" class = "btn">
<input type="button" value="+" class = "colLast btn">
</div>
<div>
<input type="button" value="00" class = "btn">
<input type="button" value="0" class = "btn">
<input type="button" value="=" class="equal colLast btn">
</div>
</form>
</div>
</div>
<script src="script.js"></script>
</body>
</html>