-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (71 loc) · 2.69 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sorting Visualizer</title>
<link rel="stylesheet" href="style/sortv.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="icon" type="image/x-icon" href="https://img.icons8.com/?size=100&id=qn2dSywXsveC&format=png&color=000000">
</head>
<body>
<nav>
<div class="left">
<div class="title">SortV</div>
</div>
<div class="right">
<div class="algorithm">
<label for="algorithm">Choose an algorithm:</label>
<select name="algorithm" id="algorithm">
<optgroup label="Sorting: " id="sorting-list">
</oaptgroup>
</select>
</div>
<div class="animationSpeed">
<label for="animationSpeed">Animation Speed:</label>
<select name="animationSpeed" id="animationSpeed">
<option value="fast">Fast</option>
<option value="medium" selected>Medium</option>
<option value="slow">Slow</option>
</optgroup>
</select>
</div>
<div class="barsSize">
<label for="width">Number of Bars</label>
<input type="range" min="10" max="200" value="50" class="slider" id="slider">
</div>
<button class="reset-button">Reset<i class='bx bx-reset'></i></button>
<button class="sort-button">Sort<i class='bx bx-sort-up'></i></button>
<button class="pseudoButton" id="pseudoButton">Pseudo Code</button>
<div class="pseudoCode">
<div class="pseudo-code-card" id="pseudoCodeCard">
<div class="top">
<h3></h3>
<button class="close-button" id="closeButton">X</button>
</div>
<pre id="pseudoCode"></pre>
</div>
</div>
</div>
</div>
</nav>
<div class="container">
</div>
<div class="info-box" >
<div class="info-heading" >
<span>Info</span>
<button id="infoToggle">▼</button>
</div>
<div class="info-content" >
<p id="algorithmName" >Algorithm: </p>
<p id="barCount">No. of Bars: </p>
<p id="comparisons">Comparisons: </p>
<p id="legend"></p>
</div>
</div>
<footer>
<pre> Made with <i class='bx bxs-heart' style='color:#ff0000' ></i> by <a href="https://github.com/SdSadat/">Sd</a></pre>
</footer>
<script type="module" src="script/sort.js"></script>
</body>
</html>