-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (42 loc) · 1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator</title>
<link rel="stylesheet" href="style.css">
<script src="./script.js" defer></script>
<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=Fjalla+One&display=swap" rel="stylesheet">
</head>
<body>
<h1>Calculator App</h1>
<main class="container">
<section class="display">
<div class="screen"></div>
<button class="back">C</button>
</section>
<section class="calculator-keys">
<button class="key">+</button>
<button class="key">-</button>
<button class="key">*</button>
<button class="key">÷</button>
<button class="num">7</button>
<button class="num">8</button>
<button class="num">9</button>
<button class="num">4</button>
<button class="num">5</button>
<button class="num">6</button>
<button class="num">3</button>
<button class="num">2</button>
<button class="num">1</button>
<button class="num">0</button>
<button class="decimal">.</button>
<button class="clear">AC</button>
<button class="equal">=</button>
</section>
</main>
</body>
</html>