-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (57 loc) · 2.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="./favicon.svg" />
<title>collatz</title>
<meta name="title" content="collatz - Collatz conjecture calculator" />
<meta name="description" content="An enchaned and modern caluclator for the Collatz conjecture." />
<meta name="keywords" content="collatz conjecture, collatz, collatz simulator, collatz conjecture simulator, collatz calculator, calculator, collatz conjecture calculator" />
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="English" />
<meta name="revisit-after" content="30 days" />
<meta name="author" content="5qc" />
<link rel="stylesheet" type="text/css" href="./dist/style.css" />
<script type="text/javascript" src="./dist/script.js" defer></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/chart.js" defer></script>
</head>
<body>
<div class="body">
<div class="container">
<input id="number" />
<button id="submit">submit</button>
<br />
<div class="log">
<label class="check">log
<input type="checkbox" id="log" />
<span class="checkmark"></span>
</label>
</div>
</div>
<div id="result">
<div id="error" class="error"></div>
<canvas id="graph1" height="100%" width="100%"></canvas>
<canvas id="graph2" height="100%" width="100%" style="display: none;"></canvas>
</div>
</div>
<div class="top-right">
<div>steps: <span id="steps">0</span></div>
<div class="link" id="stats-link">for statisticians</div>
</div>
<div id="screen" style="display: none;"></div>
<div class="window" id="stats" style="display: none;">
<div class="title">simulate range</div>
<div style="display: flex; gap: 5px; padding-bottom: 5px;">
<input id="range1" placeholder="2" /><!--
--><input id="range2" placeholder="100" />
</div>
<div id="stats-error" class="error" style="display: none; padding-bottom: 5px;"></div>
<div style="display: flex; gap: 5px;">
<button id="export-csv" style="width: 100%;">export csv</button>
<button id="export-json" style="width: 100%;">export json</button>
</div>
</div>
</body>
</html>