-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (89 loc) · 3.38 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!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="styles.css">
</head>
<body>
<div class="frame">
<div class="logo"><p>--muhibk22--</p></div>
<div class="content">
<div class="record" id="lastOperationScreen"></div>
<div class="current">
<div class="result" id="currentOperationScreen"></div>
<div class="dash"><p>|</p></div>
</div>
</div>
<div class="line"></div>
<div class="buttons">
<div class="row">
<div class="button-container">
<button class="button" data-number>7</button>
</div>
<div class="button-container">
<button class="button" data-number>8</button>
</div>
<div class="button-container">
<button class="button" data-number>9</button>
</div>
<div class="button-container">
<button class="button3" id="deleteBtn">Del</button>
</div>
</div>
<div class="row">
<div class="button-container">
<button class="button" data-number>4</button>
</div>
<div class="button-container">
<button class="button" data-number>5</button>
</div>
<div class="button-container">
<button class="button" data-number>6</button>
</div>
<div class="button-container">
<button class="button" data-operator>+</button>
</div>
</div>
<div class="row">
<div class="button-container">
<button class="button" data-number>1</button>
</div>
<div class="button-container">
<button class="button" data-number>2</button>
</div>
<div class="button-container">
<button class="button" data-number>3</button>
</div>
<div class="button-container">
<button class="button" data-operator>-</button>
</div>
</div>
<div class="row">
<div class="button-container">
<button class="button" id="pointBtn">.</button>
</div>
<div class="button-container">
<button class="button" data-number>0</button>
</div>
<div class="button-container">
<button class="button" data-operator>/</button>
</div>
<div class="button-container">
<button class="button" data-operator>x</button>
</div>
</div>
<div class="row">
<div class="button-container extra">
<button class="button2" id="clearBtn">Reset</button>
</div>
<div class="button-container extra">
<button class="button2" id="equalsBtn">=</button>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>