-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (59 loc) · 2.56 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" />
<title>Complex Calculator</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="calc.css">
</head>
<body>
<div class="wrapper">
<input class="display input" type="text" value="">
<div class="row">
<div class="column">
<button class="btn button btn-primary">1</button>
<button class="btn button btn-primary">2</button>
<button class="btn button btn-primary">3</button>
<button class="btn button btn-primary">*</button>
</div>
<div class="column">
<button class="btn button btn-primary">4</button>
<button class="btn button btn-primary">5</button>
<button class="btn button btn-primary">6</button>
<button class="btn button btn-primary">M-</button>
</div>
<div class="column">
<button class="btn button btn-primary">7</button>
<button class="btn button btn-primary">8</button>
<button class="btn button btn-primary">9</button>
<button class="btn button btn-primary">/</button>
</div>
<div class="column">
<button class="btn button btn-primary">.</button>
<button class="btn button btn-primary">0</button>
<button class="btn button btn-primary">00</button>
<button class="btn button all-clear btn-primary">clr</button>
</div>
<div class="column">
<button class="btn button equal btn-primary">=</button>
<button class="btn button btn-primary">%</button>
<button class="btn button btn-primary">-</button>
<button class="btn button btn-primary">+</button>
<button class="del btn button btn-primary">del</button>
</div>
</div>
</div>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"
></script>
<script src="function.js"></script>
</body>
</html>