-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (62 loc) · 2.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- PAGE TITLE -->
<title>Visual Alg</title>
<!-- SITE META DATA -->
<meta name="keywords" content="Sorting, Algorithm">
<meta name="description" content="A graphical visualisation of advanced data structures and algorithms.">
<meta name="author" content="Ben Madelin">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SITE RESOURCES -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700" rel="stylesheet" type="text/css">
<link rel="icon" type="image/png" href="..\img\favicon.png">
<!-- PAGE STYLING -->
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!-- PAGE CONTAINER -->
<div class="wrapper">
<header>
<nav>
<div class="flex-container">
<div class="alg-setup">
<p>
<label for="array-size">Size:</label>
<input id="array-size" type="range" value="75" min="10" max="150" step="10">
</p>
<p>
<label for="array-speed">Speed:</label>
<input id="array-speed" type="range" value="3" min="1" max="5" step="1">
</p>
<button id="array-setup">Setup</button>
</div>
<div class="alg-select">
<button>Bubble</button>
<button>Selection</button>
<button>Insertion</button>
<button>Merge</button>
<button>Quick</button>
</div>
</div>
</nav>
</header>
<!-- CONTENT -->
<div id="content-container" class="content-container">
</div>
<footer>
<a href="https://github.com/madelinben/visual-algorithms"><i class="credit">~ Ben Madelin ~</i></a>
</footer>
</div>
<!-- SORTING ALGORITHMS -->
<script type="text/javascript" src="scripts/alg/bubble-sort.js"></script>
<script type="text/javascript" src="scripts/alg/selection-sort.js"></script>
<script type="text/javascript" src="scripts/alg/insertion-sort.js"></script>
<script type="text/javascript" src="scripts/alg/merge-sort.js"></script>
<script type="text/javascript" src="scripts/alg/quick-sort.js"></script>
<!-- DOCUMENT MODULES -->
<script type="text/javascript" src="scripts/display-handler.js"></script>
<script type="text/javascript" src="scripts/alg-helper.js"></script>
</body>
</html>