-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
107 lines (107 loc) · 2.81 KB
/
index.html
File metadata and controls
107 lines (107 loc) · 2.81 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="author" content="Mark Swoope">
<link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="fonts/blinker/blinker.css">
<link rel="stylesheet" href="styles/normalize.css">
<link rel="stylesheet" href="styles/index.css">
<script async src="scripts/main.js"></script>
</head>
<body>
<main>
<header>
<h1>Sorting Visualizer</h1>
</header>
<div id="stats">
</div>
<table>
<tbody>
<tr id="view"></tr>
</tbody>
</table>
<div id="setup">
<div>
<div>
<label for="algorithm">Algorithm:</label>
<select id="algorithm">
<option value="quickSort">Quicksort</option>
<option value="mergeSort">Merge Sort</option>
<option value="heapSort">Heapsort</option>
<option value="insertionSort">Insertion sort</option>
</select>
</div>
<div>
<label for="length">Length:</label>
<input id="length" type="text" value="128">
</div>
<div>
<label for="min">Min:</label>
<input id="min" type="text" value="-32768">
</div>
<div>
<label for="max">Max:</label>
<input id="max" type="text" value="32767">
</div>
</div>
<div>
<div>
<input id="begin" type="button" value="Begin">
</div>
</div>
</div>
<div id="controls" style="display:none;">
<div>
<div>
<label for="zoom">Zoom:</label>
<input id="zoom" type="range" min="1" max="100" step="1" value="25">
</div>
</div>
<div>
<div>
<label for="speed">Sorting speed:</label>
<input id="speed" type="range" min="1" max="250" step="1" value="250">
</div>
</div>
<div>
<div>
<input id="play-pause" type="button" value="Play">
<input id="step" type="button" value="Step">
<input id="stop" type="button" value="Stop">
</div>
</div>
</div>
<footer>
<header>
<h3>Made by Mark Swoope</h3>
</header>
<address>
<ul>
<li>
<a href="mailto:markswoope@outlook.com" aria-label="Email">
<i class="fa fa-envelope-o" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://protovision.github.io/" aria-label="Website">
<i class="fa fa-external-link" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://linkedin.com/in/mark-swoope" aria-label="LinkedIn">
<i class="fa fa-linkedin" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://github.com/protovision" aria-label="Github">
<i class="fa fa-github" aria-hidden="true"></i>
</a>
</li>
</ul>
</address>
</footer>
</main>
</body>
</html>