forked from MishaShevchenko/new-applicants-assignment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (47 loc) · 1.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles/style.css" />
<title>Calculator</title>
</head>
<body>
<div class="container">
<div class="display">
<div data-previous-operand></div>
<div data-current-operand></div>
</div>
<!-- Add your classes or ids -->
<div class="buttons">
<button data-operation>+</button>
<button data-operation>-</button>
<button data-operation>*</button>
<button data-operation>/</button>
</br>
<span class="middle">
<button data-number>1</button>
<button data-number>2</button>
<button data-number>3</button>
</span>
</br>
<span class="middle">
<button data-number>4</button>
<button data-number>5</button>
<button data-number>6</button>
</span>
</br>
<button data-number>7</button>
<button data-number>8</button>
<button data-number>9</button>
<button data-clear>C</button>
</br>
<button data-number>0</button>
<button data-number>00</button>
<button data-number>.</button>
<button data-equals>=</button>
</div>
</div>
<script src="./src/main.js"></script>
</body>
</html>