Skip to content

Commit 350c3df

Browse files
committed
add html option to choose multi feature or single feature
1 parent 0e8051a commit 350c3df

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/web/index.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,22 @@ <h1 class="font-bold text-2xl text-center">JS Linear Regression</h1>
3131
class="w-full mt-5 bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">
3232
</form>
3333

34-
<div id="preview-data-container" style="display: none; margin-top: 5rem;">
34+
<div id="preview-data-container" style="display: none; margin-top: 3rem;">
3535

3636
</div>
37+
38+
<hr>
39+
40+
<div class="flex flex-col items-center justify-center space-y-2">
41+
<label for="fruit-select"
42+
class="text-indigo-600 py-2 px-4">
43+
Select Model
44+
</label>
45+
<select id="fruit-select" name="fruit" class="border border-indigo-300 rounded-md py-2 px-4 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">
46+
<option value="single">Single feature</option>
47+
<option value="multi">Multi feature</option>
48+
</select>
49+
</div>
3750
</main>
3851

3952
<script src="script.js"></script>

0 commit comments

Comments
 (0)