-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (51 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Mate+SC&display=swap" rel="stylesheet">
<link rel="stylesheet" href="scss/style.css">
<link rel="shortcut icon" href="img/favimg.png" type="image/x-icon">
<title>Sorting Visualizer</title>
</head>
<body>
<div class="heading">
<h1>Sorting Visualizer</h1>
<div class="headerBtn">
<button class="headerBtn__array btn">New Array</button>
<button class="headerBtn__bubble btn">Bubble Sort</button>
<button class="headerBtn__selection btn">Selection Sort</button>
<button class="headerBtn__insertion btn">Insertion Sort</button>
<button class="headerBtn__merge btn">Merge Sort</button>
<button class="headerBtn__quick btn">Quick Sort</button>
</div>
</div>
<div class="mainContainer" id="bars">
</div>
<div class="controlBtns">
<div class="controlBtns__child">
<span id="numbers">
<!-- no of bars -->
<input id="bars_no" class="input" type="range" min=10 max=120 step=1
value=15>
</span>
<div class="name">No of Bars</div>
</div>
<button id="btnPlay" class="button" ></button>
<div class="controlBtns__child">
<span>
<!-- Speed of sort -->
<input id="bars_speed" class = "input" type="range" min=50 max=950 step=1
value=500>
</span>
<div class="name">Speed</div>
</div>
</div>
<div class="footer">
<h4>© 2021- Aditya Ojha</h4>
</div>
<script src="js/sorting.js"></script>
</body>
</html>