-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
83 lines (81 loc) · 2.89 KB
/
index.html
File metadata and controls
83 lines (81 loc) · 2.89 KB
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
<!DOCTYPE html>
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NVWJE6MT46"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-NVWJE6MT46');
</script>
<title>PadCalc</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="A calculator on a Note Pad. You can write your calculations, concatenate operations and save the results in variables, to use them later in following operations.">
<meta name="author" content="Bosco Curtu Massé">
<link rel="icon" type="image/x-icon" href="logo-pad-calc-white-fav.png">
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<div class="left-column">
<div class="pad">
<canvas id="myCanvas" ondragover="dragOver(event)" ondrop="drop(event)"></canvas>
<a onclick="reset();"><img src="trash-icon.svg" id="trash" ondragover="dragOverTrash(event)" ondrop="dropTrash(event)"></a>
</div>
<div class="footer">
<p>
Your convenient calculator on a note pad.
© 2023 <a href="mailto:bcurtu+padcalc@gmail.com">bcurtu@gmail.com</a>
- <a href="faqs.html">FAQs</a>
</p>
</div>
</div>
<div class="right-column">
<div class="variablesHeader">
<h3>Variables</h3>
<input id="newVariableInput" class="addvar" type="text" placeholder="v: 12">
<button onclick="addVariable();">Add Variable</button>
</div>
<div class="variablesContainer" id="variablesContainer"></div>
<div class="variablesFooter">
<button onclick="reset();">Reset</button>
<button onclick="exportState();">Export</button>
<button onclick="importFile();">Import</button>
</div>
<div class="config">
<hr>
<h3>Configuration</h3>
<p>
Decimals: <input type="number" value="2" id="decimals" class="setdecimals">
<button onclick="setDecimals();">set</button>
</p>
<hr>
</div>
<div class="hints">
<h3>Hints</h3>
<div class="hints">
<p>3*5+9/5=16.80</p>
<p>43%5=3 (modulus)</p>
<p>2**3=8 (power)</p>
<p>8-2=6->x (assignation)</p>
<p>x*4=24->y</p>
<p>x+y=30 (with variables)</p>
<p>sqrt(49)=7 (square root)</p>
<p>60+50%=90</p>
<p>25%(50)=12.50</p>
<p>5±7=[12,-2]</p>
<p>@hypotenuse=</p>
<p><a href="faqs.html">See more</a></p>
</div>
<div class="bmc">
<a href="https://www.buymeacoffee.com/amigoinvisible/e/185108" target="_blank"><img
src="https://cdn.buymeacoffee.com/buttons/v2/arial-blue.png" alt="Buy Me A Coffee"></a>
</div>
</div>
<div class="log" id="log">
</div>
</div>
</body>
</html>