-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
133 lines (106 loc) · 4.51 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@200;400&display=swap" rel="stylesheet">
<title>Diabetes Prediction Features</title>
<link rel="stylesheet" href="styleBee.css">
<script src="https://kit.fontawesome.com/7e92c0f749.js" crossorigin="anonymous"></script>
</head>
<body>
<nav class="head">
<div class="head_container">
<a href="/" id="head_logo"><i class="fa-solid fa-hospital"></i>
Diabetes Prediction
</a>
<div class="head_toggle" id="mobile-menu">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
<ul class="head_menu">
<li class="head_item">
<a href="https://github.com/arkajkesav/Diabetes-Prediction-using-ML" target="_blank" class="head_links">
Github
</a>
</li>
<li class="head_item">
<a href="https://www.youtube.com/watch?v=xvFZjo5PgG0" target="_blank" class="head_links">
More
</a>
</li>
</ul>
</div>
</nav>
<div class="bottom_heading">
<div class="bot_head">
<h4> Site Under Construction!!</h4>
</div>
</div>
<form method="post" action="/">
<div class="container">
<div class="container-head">
<h4>Enter your details:</h4>
</div> <br>
<br>
<label for="date-of-birth">Date of Birth:</label>
<input type="date" id="date-of-birth" name="date-of-birth" required onchange="calculateAge()">
<label for="age">Age:</label>
<input type="text" id="age" name="age" readonly><br>
<br>
<label for="hypertension">Do You Suffer From Hypertension? (High Blood Pressure):</label>
<select id="hypertension" name="hypertension" required>
<option value="">Select</option>
<option value="0">Yes</option>
<option value="1">No</option>
</select><br>
<br>
<label for="heart_disease">Do You suffer from any heart diseases?</label>
<select id="heart_disease" name="heart_disease" required>
<option value="">Select</option>
<option value="0">Yes</option>
<option value="1">No</option>
</select><br>
<br>
<label for="smoking_history">Do you smoke?</label>
<select name="smoking_history" required>
<option value="never">Never</option>
<option value="formerly">Used to</option>
<option value="currently">Yes</option>
</select><br>
<br>
<label for="weight">Weight:</label>
<input type="number" name="weight" id="weightInput" placeholder="In kg" min="1" step="0.1 ">
<label for="height">Height:</label>
<input type="number" name="height" id="heightInput" placeholder="In cm" min="1" step="1">
<label for="bmi">BMI:</label>
<input type="text" name="bmi" id="bmiInput"><br>
<br>
<label for="HbA1c_level">HbA1c Level:</label>
<input type="range" name="HbA1c_level" id="HbA1c_level" min="1" max="10" required>
<span id="sliderValue">0</span><br>
<br>
<label for="blood_glucose_level">Blood Glucose Level (mg/dL):</label>
<input type="number" name="blood_glucose_level" required min="70" max="130"><br>
<br>
<label for="gender">Gender:</label>
<select name="gender" required>
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select><br>
<br>
<div class="reset">
<button type="reset">Reset values</button>
</div>
<br>
<div class="submit">
<button type="submit">Predict Your Result</button>
</div>
</div>
</form>
<script src="scriptBee.js"></script>
</body>
</html>