-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (53 loc) · 1.74 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" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<title>Calculator</title>
</head>
<body>
<h2>Calculator</h2>
<br><br>
<div style="width:300px; margin: 0 auto;">
<input type="text" placeholder="0" class="in">
<hr />
<table>
<button class="bt co">AC</button>
<button class="bt co">↲</button>
<button class="bt co">%</button>
<button class="bt co">/</button>
</table>
<table>
<button class="bt">7</button>
<button class="bt">8</button>
<button class="bt">9</button>
<button class="bt co">*</button>
</table>
<table>
<button class="bt">4</button>
<button class="bt">5</button>
<button class="bt">6</button>
<button class="bt co">-</button>
</table>
<table>
<button class="bt">1</button>
<button class="bt">2</button>
<button class="bt">3</button>
<button class="bt co">+</button>
</table>
<table>
<button class="bt">00</button>
<button class="bt">0</button>
<button class="bt">.</button>
<button class="bo bt">=</button>
</table>
</div>
<script src="index.js"></script>
</body>
</html>