4
4
< meta charset ="UTF-8 ">
5
5
< title > Sorting algorithm</ title >
6
6
< script src ="src/sorting.js "> </ script >
7
- < link href ="build .css " rel ="stylesheet ">
7
+ < link href ="dist/output .css " rel ="stylesheet ">
8
8
</ head >
9
9
< body >
10
10
< div class ="m-10 xl:grid xl:grid-cols-2 xl:justify-items-stretch w-[95%] h-full ">
11
11
< div class ="text-2xl ">
12
12
< h1 class ="text-5xl font-mono "> Sorting algorithms</ h1 >
13
13
< div class ="p-6 mt-3 grid grid-cols-1 gap-1 ">
14
- < input class ="shadow-sm border-gray-300 rounded-lg m-2 focus:ring-2 focus:ring-indigo-200 focus:border-indigo-400 " type ="text " id ="input " placeholder ="Enter numbers to sort ">
15
- < button class ="p-2 px-5 bg-black text-gray-400 " onclick ="sort() "> Sort</ button >
16
- < button class ="p-2 px-5 bg-black text-gray-400 " onclick ="reset() "> Reset</ button >
14
+ < input class ="border-2 border-black rounded-lg p-1 " type ="text " id ="input " placeholder ="Enter amount to sort ">
15
+ < button class ="p-2 px-5 bg-black text-gray-400 rounded-lg " onclick ="sort() " id ="start-sort-btn "> Sort</ button >
17
16
</ div >
18
17
< div >
19
18
< h2 class ="text-5xl font-mono "> Stats</ h2 >
@@ -31,22 +30,23 @@ <h2 class="text-5xl font-mono">Stats</h2>
31
30
< canvas class ="bg-black p-5 w-full h-full " id ="canvas " width ="1000 " height ="1000 " > </ canvas >
32
31
</ div >
33
32
</ div >
33
+
34
34
< div class ="text-2xl m-10 ">
35
35
< h3 class ="text-5xl my-5 ">
36
36
Further Settings
37
37
</ h3 >
38
- < input class ="border-black border-2 rounded-lg " type ="text " id ="speed " placeholder ="speed ">
38
+ < input class ="border-2 border-black rounded-lg p-1 p- " type ="text " id ="speed " placeholder ="time between iteration ">
39
39
< select name ="sorting-algorithm " id ="sorting-algorithm ">
40
40
< option class ="text-lg " value ="bubble-sort "> Bubble sort</ option >
41
41
< option class ="text-lg " value ="insertion-sort "> Insertion sort</ option >
42
42
< option class ="text-lg " value ="selection-sort "> Selection sort</ option >
43
43
</ select >
44
- < button onclick ="updateSettings() "> Update Settings</ button >
44
+ < button class =" border-2 border-black rounded-lg p-1 ml-5 " onclick ="updateSettings() "> Update Settings</ button >
45
45
</ div >
46
- < footer class ="text-2xl mt-auto ">
46
+ < footer class ="text-3xl mt-auto ">
47
47
< div class ="bg-black ">
48
48
< div class ="flex flex-row items-center justify-between py-4 ">
49
- < p class ="text-lg text- gray-400 "> © 2023 Mauritz Orlinski</ p >
49
+ < p class ="text-gray-400 "> © 2023 Mauritz Orlinski</ p >
50
50
< div class ="flex text-gray-200 ">
51
51
< a class ="mr-4 hover:scale-110 " href ="https://github.com/MauritzOrlinski "> GitHub</ a >
52
52
< a class ="mr-4 hover:scale-110 " href ="https://mauritzorlinski.com "> mauritzorlinski.com</ a >
0 commit comments