-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (98 loc) · 3.69 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Calculator app</title>
<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=Inter:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./src/styles/styles.css">
</head>
<body>
<main class="bg-main">
<section class="calc">
<header class="calc-header">
<h1 class="primary-header text-operation">calc</h1>
<div class="theme-container">
<div>
<p class="text-operation theme">THEME</p>
</div>
<div class="track-container">
<div class="theme-state">
<span class="text-operation">1</span>
<span class="text-operation">2</span>
<span class="text-operation">3</span>
</div>
<div class="track-rail bg-toggle p-1">
<div class="track bg-equal-key no-shadow" data-display="dark"></div>
</div>
</div>
</div>
</header>
<div class="bg-screen mt-7 rounded p-8">
<p id="result" class="result text-operation"></p>
</div>
<div class="numbers-container bg-toggle mt-6 p-8 rounded">
<div class="key bg-num-key rounded seven">
<span class="num-text key-text">7</span>
</div>
<div class="key bg-num-key rounded eight">
<span class="num-text key-text">8</span>
</div>
<div class="key bg-num-key rounded nine">
<span class="num-text key-text">9</span>
</div>
<div class="key reset-key-bg rounded del">
<span class="text-operation key-text">DEL</span>
</div>
<div class="key bg-num-key rounded four">
<span class="num-text key-text">4</span>
</div>
<div class="key bg-num-key rounded five">
<span class="num-text key-text">5</span>
</div>
<div class="key bg-num-key rounded six">
<span class="num-text key-text">6</span>
</div>
<div class="key bg-num-key rounded plus">
<span class="num-text key-text">+</span>
</div>
<div class="key bg-num-key rounded one">
<span class="num-text key-text">1</span>
</div>
<div class="key bg-num-key rounded two">
<span class="num-text key-text">2</span>
</div>
<div class="key bg-num-key rounded three">
<span class="num-text key-text">3</span>
</div>
<div class="key bg-num-key rounded subtract">
<span class="num-text key-text">-</span>
</div>
<div class="key bg-num-key rounded dot">
<span class="num-text key-text">.</span>
</div>
<div class="key bg-num-key rounded zero">
<span class="num-text key-text">0</span>
</div>
<div class="key bg-num-key rounded divide">
<span class="num-text key-text">/</span>
</div>
<div class="key bg-num-key rounded multiple">
<span class="num-text key-text">*</span>
</div>
<div class="key reset-key-bg rounded reset">
<span class="text-operation key-text">RESET</span>
</div>
<div class="key bg-equal-key rounded equal">
<span class="text-operation-2 key-text">=</span>
</div>
</div>
</section>
</main>
<script type="module" src="./public/js/index.js"></script>
</body>
</html>