-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (69 loc) · 2.93 KB
/
index.html
File metadata and controls
89 lines (69 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="style.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div class="container" id="container">
<div class="top_bar">
<div class="logo">
<div class="logoAnimation">
<div class="div1"></div>
<div class="div2"></div>
<div class="div3"></div>
<div class="div4"></div>
</div>
SORT
<div class="hide">ING </div>
<div class="hide1">VISUA</div>
LISER
</div>
<!-- <div class="counter">
<p >size of array : </p>
<input type="range" min="2" max="120" value="4" class="slider" id="myRange"/>
<div class="sorts" onclick="qs()"> <a href="#" class="href">Quick Sort</a></div>
</div> -->
<div class="topBarRight">
<!-- for speed button -->
<div class="dropdown">
<button class="dropbtn">Speed</button>
<div class="dropdown-content">
<input type="range" min="0" max="300" value="50" class="slider" id="speedRange" />
</div>
</div>
<!-- for size button -->
<div class="dropdown">
<button class="dropbtn">Array Size</button>
<div class="dropdown-content">
<a href="#" onclick="arrayAndDiv(20)">Small</a>
<a href="#" onclick="arrayAndDiv(60)">Medium</a>
<a href="#" onclick="arrayAndDiv(150)">Large</a>
<a>Custom <br>
<button class="counter" onclick="counterChange(-1)">-</i></button>
<span class="counter" id="counterValue">4</span>
<button class="counter" onclick="counterChange(1)">+</i></button> </a>
</a>
</div>
</div>
<button class="button" onclick="counterChange(0)">Clear</button>
<div class="custom-select" style="width:200px;">
<select>
<option id="selected_sort" value="0">Algorithms/option>
<option value="3">Bubble Sort</option>
<option value="1">Quick Sort</option>
<option value="2">Merge Sort</option>
</select>
</div>
<button class="button" onclick="sort()">Sort</button>
</div>
</div>
</div>
</div>
<!-- <div id="value">100</div> -->
<script src="node.js"></script>
</body>
</html>