-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (38 loc) · 1.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@github">
<meta name="twitter:creator" content="@Himanshu">
<meta name="twitter:title" content="Sorting Visualization">
<meta name="twitter:description" content="A Visualization tool to understand different sorting algorithms.">
<meta name="twitter:image" content="images/twitter_card.jpg">
<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="stylesheet" href="style.css">
<title>Sorting Visualization</title>
</head>
<body>
<nav class="nav-bar">
<button id="random-button" onclick="randomize()">Randomize</button>
<button id="sort-button" onclick="sort_arr()">Sort</button>
<label for="sizeOfArr">Size : <input id="sizeOfArr" type="number"></label>
<label for="algo"> Algo :
<select name="algo" id="algo">
<option value="bubble">Bubble</option>
<option value="insertion">Insertion</option>
</select>
</label>
<label for="Speed"> Speed :
<select name="Speed" id="Speed">
<option value="5">Fast</option>
<option value="100">Normal</option>
<option value="500">Slow</option>
</select>
</label>
</nav>
<canvas></canvas>
<script src="code.js"></script>
</body>
</html>