-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (43 loc) · 1.57 KB
/
Copy pathindex.html
File metadata and controls
45 lines (43 loc) · 1.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sorting Visualize</title>
<link rel="stylesheet" href="style.css" />
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="overflow-hidden">
<div class="w-full h-screen flex items-end flex-col justify-end">
<div class="w-full h-[20%] flex flex-col items-center justify-center gap-2">
<h1 class="text-4xl font-mono font-bold text-green-500">ALGO SORT VISUALIZER</h1>
<div class="w-full flex items-center justify-center gap-2">
<button
id="randomBtn"
class="border-2 border-green-500 px-4 py-1 rounded-md hover:bg-green-500 hover:text-white transition duration-500 ease-in-out"
>
<img src="images/dice.png" class="h-8 w-8">
</button>
<button
id="sortBtn"
class="border-2 border-green-500 px-10 py-2 rounded-md hover:bg-green-500 hover:text-white transition duration-500 ease-in-out"
>
Sort
</button>
<input
id="lengthArray"
type="number"
class="border-2 border-green-500 px-4 py-2 rounded-md w-20 focus:outline-none"
value="50"
placeholder="Length"
/>
</div>
</div>
<div
id="root"
class="w-full h-[80%] flex items-end justify-center flex-wrap"
></div>
</div>
<script type="module" src="./js/script.js"></script>
</body>
</html>