-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (44 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet" />
<title>Sorting Algorithms</title>
</head>
<body>
<div class="modal">
<div class="instructions">
<h3><span class="cross">X</span></h3>
<h1>Welcome to my visualization app for Sorting Algorithms</h1>
<ul>
<li>First select the Algorithm you want to visualize.</li>
<li>Then adjust the length of the array you want to sort and
press start.</li>
<li>Notice that as the length of the array increases so does the speed of the animation.</li>
<li>Also you have
option to stop the animation and continue with another Algorithm of your choice.</li>
</ul>
</div>
</div>
<ul class="navbar">
<li><span class="select-tag">Select Algorithm:</span></li>
<li><span class="btn">Bubble Sort</span></li>
<li><span class="btn">Quick Sort</span></li>
<li><span class="btn">Merge Sort</span></li>
<li><span class="btn">Heap Sort</span></li>
</ul>
<div class="visualization-field">
</div>
<ul class="navbar-bottom">
<li><span class="select-tag">Select Array Size:</span></li>
<li>
<span class="slider"><label for="points">Values range from 20 to 200</label>
<input type="range" id="mySlider" name="points" min="20" max="200" /><output id="output"></output></span>
</li>
<li><span class="btn-start">Start</span></li>
</ul>
<script src="main.js"></script>
</body>
</html>