-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator app</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container">
<div class="display-calc">
<p class="display_input">0</p>
</div>
<div class="input-container">
<div class="row-1">
<button data-action="Clear">AC</button>
<button data-action="divide">%</button>
<button data-action="divide">/</button>
<button data-action="multiply">x</button>
</div>
<div class="row-2">
<button>7</button>
<button>8</button>
<button>9</button>
<button data-action="subtract">-</button>
</div>
<div class="row-2">
<button>4</button>
<button>5</button>
<button>6</button>
<button data-action="add">+</button>
</div>
<div class="row-2">
<button>1</button>
<button>2</button>
<button>3</button>
<button data-action="daa/subtract">+/-</button>
</div>
<div class="row-3">
<button>0</button>
<button data-action="decimal">.</button>
<button data-action="calculate">=</button>
</div>
</div>
</div>
<script src="calc.js"></script>
<!-- <script src="test.js"></script> -->
</body>
</html>