-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (48 loc) · 2.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Calculator Project (:</title>
<!-- Main css stlye file -->
<link rel="stylesheet" href="css/style.css">
<!-- Font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Overpass:wght@100;300;400&display=swap">
</head>
<body>
<!-- calculator -->
<div class="calculator">
<!-- Display -->
<div class="calculator__display">
<div class="display__input">0</div>
<div class="display__output">0</div>
<div class="display__reader sr-only" role="alert" aria-live="polite"></div>
</div>
<!-- Keys -->
<div class="calculator__keys">
<button class="calculator__key calculator__key--span-two calculator__key--all-clear" aria-label="All clear">AC</button>
<button class="calculator__key calculator__key--backspace" aria-label="Backspace">DEL</button>
<button class="calculator__key calculator__key--operation" aria-label="divide">÷</button>
<button class="calculator__key calculator__key--number">7</button>
<button class="calculator__key calculator__key--number">8</button>
<button class="calculator__key calculator__key--number">9</button>
<button class="calculator__key calculator__key--operation" aria-label="multiply">×</button>
<button class="calculator__key calculator__key--number">4</button>
<button class="calculator__key calculator__key--number">5</button>
<button class="calculator__key calculator__key--number">6</button>
<button class="calculator__key calculator__key--operation" aria-label="minus">-</button>
<button class="calculator__key calculator__key--number">1</button>
<button class="calculator__key calculator__key--number">2</button>
<button class="calculator__key calculator__key--number">3</button>
<button class="calculator__key calculator__key--operation" aria-label="plus">+</button>
<button class="calculator__key calculator__key--number">0</button>
<button class="calculator__key calculator__key--number">.</button>
<button class="calculator__key calculator__key--span-two calculator__key--equals" aria-label="equals">=</button>
</div>
</div>
<!-- End calculator -->
<script src="js/script.js"></script>
</body>
</html>