deedrop1140 commited on
Commit
1a20b69
·
verified ·
1 Parent(s): b2e4786

Update templates/svm.html

Browse files
Files changed (1) hide show
  1. templates/svm.html +35 -0
templates/svm.html CHANGED
@@ -113,6 +113,41 @@
113
  Explore a dynamically trained Linear Support Vector Machine, adjusting parameters and adding new data points.
114
  </p>
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  <!-- Controls (mobile-first) -->
117
  <div class="controls grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 mb-4">
118
  <div class="flex flex-col">
 
113
  Explore a dynamically trained Linear Support Vector Machine, adjusting parameters and adding new data points.
114
  </p>
115
 
116
+ <!-- button -->
117
+ <div>
118
+ <!-- Audio Element -->
119
+ <!-- Note: Browsers may block audio autoplay if the user hasn't interacted with the document first,
120
+ but since this is triggered by a click, it should work fine. -->
121
+
122
+
123
+ <a
124
+ href="/svm-model-three"
125
+ target="_blank"
126
+ onclick="playSound()"
127
+ class="
128
+ cursor-pointer
129
+ inline-block
130
+ relative
131
+ bg-blue-500
132
+ text-white
133
+ font-bold
134
+ py-4 px-8
135
+ rounded-xl
136
+ text-2xl
137
+ transition-all
138
+ duration-150
139
+
140
+ /* 3D Effect (Hard Shadow) */
141
+ shadow-[0_8px_0_rgb(29,78,216)]
142
+
143
+ /* Pressed State (Move down & remove shadow) */
144
+ active:shadow-none
145
+ active:translate-y-[8px]
146
+ ">
147
+ Tap Me!
148
+ </a>
149
+ </div>
150
+
151
  <!-- Controls (mobile-first) -->
152
  <div class="controls grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 mb-4">
153
  <div class="flex flex-col">