-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (77 loc) · 3.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Ol'Reliable</title>
<link rel="stylesheet" href="./styles/main.css" type="text/css" />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Oswald:wght@300;400;600&display=swap"
rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon/favicon-16x16.png">
<link rel="manifest" href="./favicon/site.webmanifest">
<script src="https://kit.fontawesome.com/b4937b662a.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<div class="copied-banner">
<p>Copied to clipboard.</p>
</div>
<i class="tooltip fas fa-info-circle">
<div class="instructions">
<p class="instruction-headline"><a href="https://en.wikipedia.org/wiki/Order_of_operations#Examples"
target="_blank">Works with PEMDAS rules.</a></p>
<p>Build up complex operations. You'll always append or delete on your previous operations until you clear.</p>
<p>Wrap <strong>negative numbers in parentheses</strong>.</p>
<p>Keyboard support.</p>
<p class="instruction-headline"><strong>Click on your results to save them.</strong></p>
</div>
</i>
</header>
<main>
<div id="calc-container">
<div class="display">
<div class="sub backlog">
<p></p>
</div>
<div class="sub result">
<p>0</p>
</div>
</div>
<div class="utility-wrapper">
<button class="utility delete" data-symbol="backspace" aria-label="backspace">
<i class="fas fa-backspace"></i>
</button>
<button class="utility clear" data-symbol="c">Clear</button>
</div>
<button class="non-operator digit">7</button>
<button class="non-operator digit">8</button>
<button class="non-operator digit">9</button>
<button class="non-operator parens">(</button>
<button class="non-operator parens">)</button>
<button class="non-operator digit">4</button>
<button class="non-operator digit">5</button>
<button class="non-operator digit">6</button>
<button class="operator" data-symbol="*">x</button>
<button class="operator" data-symbol="/">/</button>
<button class="non-operator digit">1</button>
<button class="non-operator digit">2</button>
<button class="non-operator digit">3</button>
<button class="operator" data-symbol="+">+</button>
<button class="operator" data-symbol="-">-</button>
<button class="non-operator digit">0</button>
<button class="non-operator dot" data-symbol=".">.</button>
<button class="operator" data-symbol="**">Exp</button>
<button class="equals" data-symbol="=">=</button>
</div>
</main>
<footer>
<a href="https://github.com/aaron-contreras" target="_blank">
Built by Aaron Conteras <i class="fab fa-github"></i>
</a>
</footer>
<script src="./scripts/script.js"></script>
</body>
</html>