-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (64 loc) · 3.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/sass/style.css">
<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=Spartan:wght@700&display=swap" rel="stylesheet">
<link rel="icon" type="image/svg+xml" href="/assets/images/favicon.svg">
<link rel="icon" type="image/png" href="/assets/images/favicon.png">
<title>Calculadora app</title>
</head>
<body class="blue-theme">
<main class="calculator">
<header class="header">
<div class="title">
<h1>calc</h1>
<div class="theme-toggle">
<p>THEMES</p>
<div class="toggle">
<div id="theme1" class="switch theme1 active" onclick="onChangeThemes('theme1')">1</div>
<div id="theme2" class="switch theme2" onclick="onChangeThemes('theme2')">2</div>
<div id="theme3" class="switch theme3" onclick="onChangeThemes('theme3')">3</div>
</div>
</div>
</div>
<div class="number">
<div data-previous-operand class="previous-number"></div>
<div data-current-operand class="current-number">0</div>
</div>
</header>
<section class="calculator-keys">
<h2 class="sr-only">Numpad</h2>
<div class="button-wrapper">
<button data-number>7</button>
<button data-number>8</button>
<button data-number>9</button>
<button data-delete class="del-reset">DEL</button>
<button data-number>4</button>
<button data-number>5</button>
<button data-number>6</button>
<button data-operation>+</button>
<button data-number>1</button>
<button data-number>2</button>
<button data-number>3</button>
<button data-operation>-</button>
<button data-number>.</button>
<button data-number>0</button>
<button data-operation>÷</button>
<button data-operation>x</button>
</div>
<div class="button-wrapper-alt">
<button data-reset class="del-reset">RESET</button>
<button data-equals class="equal">=</button>
</div>
</section>
<div class="attribution">
Developed with 🤎 by <a href="https://github.com/gabrlcj">Gabriel Bittencourt</a>.
</div>
</main>
<script src="assets/js/main.js"></script>
</body>
</html>