-
Notifications
You must be signed in to change notification settings - Fork 2
/
diagnosis.html
121 lines (107 loc) · 3.75 KB
/
diagnosis.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Disease Predictor</title>
<link rel="stylesheet" href="style.css">
<style>
body {
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
font-family: 'Arial', sans-serif;
background-color: #42636A;
background-image: url('backl.jpg');
background-size: cover;
background-position: right top;
background-repeat: no-repeat;
}
.container {
display: flex;
flex-direction: column;
align-items: center; /* Updated alignment to center */
justify-content: center;
min-height: calc(100vh - 100px);
padding: 20px;
margin-left: auto;
margin-right: auto;
}
.symptom-selector {
text-align: center;
}
.symptom-list {
list-style: none;
padding: 0;
}
.symptom-list li {
display: inline-flex;
align-items: center;
margin-bottom: 10px;
}
.symptom-list input {
margin-right: 10px;
}
#result-container {
margin-top: 20px;
text-align: center;
}
.space {
height: 40vh;
}
footer {
background-color: rgba(0, 0, 0, 0.7);
color: white;
text-align: center;
padding: 10px;
width: 100%;
margin-top: auto;
}
</style>
</head>
<body>
<nav>
<a href="index.html">
<div class="logo">MedQ</div>
</a>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="department.html">Departments</a></li>
<li><a href="dashboard.html">Dashboard</a></li>
<li><a href="diagnosis.html">Disease Predictor </a></li>
<li><a href="medical history.html">Medical History</a></li>
<li><a href="login.html">Login</a></li>
</ul>
</nav>
<div class="container">
<div class="symptom-selector">
<h2>Select Your Symptoms</h2>
<ul class="symptom-list">
<li><input type="checkbox" name="symptom" value="fever">Fever</li>
<li><input type="checkbox" name="symptom" value="cough">Cough</li>
<li><input type="checkbox" name="symptom" value="headache">Headache</li>
<li><input type="checkbox" name="symptom" value="sneezing">Sneezing</li>
<li><input type="checkbox" name="symptom" value="itchy_eyes">Itchy Eyes</li>
<li><input type="checkbox" name="symptom" value="runny_nose">Runny Nose</li>
<li><input type="checkbox" name="symptom" value="severe_headache">Severe Headache</li>
<li><input type="checkbox" name="symptom" value="nausea">Nausea</li>
<li><input type="checkbox" name="symptom" value="light_sensitivity">Sensitivity to Light</li>
</ul>
<button id="detect-btn">Detect Disease</button>
</div>
<div id="result-container">
<h2>You May Have...</h2>
<ul id="disease-list"></ul>
</div>
</div>
<div class="space"></div>
<footer>
<div class="notice">
<p><b>Disclaimer: The information provided here may not be accurate. Do consult a doctor before
proceeding further. We are not responsible for providing any wrong information.</b></p>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>