-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (52 loc) · 1.77 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sorting Algorithms Visualizer</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400;700&display=swap" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<header>
<nav>
<div class="array-inputs">
<p>Size of the array:</p>
<input id="array_size" type="range" min=20 max=150 step=1 value=80>
<p>Speed of the algorithm:</p>
<input id="algo_speed" type="range" min=1 max=5 step=1 value=4>
<button id="array_generate">Generate new array!</button>
</div>
<div class="header_right">
<p class="nav-heading">Sorting Algorithms Visualizer</p>
<div class="algos">
<button>Bubble</button>
<button>Selection</button>
<button>Insertion</button>
<button>Merge</button>
<button>Quick</button>
</div>
</div>
</nav>
</header>
<section>
<div id="Info_Cont1">
<p></p>
</div>
<div id="array_container"></div>
<div id="Info_Cont2">
<p></p>
</div>
</section>
<footer></footer>
<script src="./scripts/main.js"></script>
<script src="./scripts/visualizations.js"></script>
<script src="./scripts/bubble_sort.js"></script>
<script src="./scripts/selection_sort.js"></script>
<script src="./scripts/insertion_sort.js"></script>
<script src="./scripts/merge_sort.js"></script>
<script src="./scripts/quick_sort.js"></script>
</body>
</html>