<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Lung Cancer Prediction</title>
<style>
body {
font-family: Arial, sans-serif;
background-image: url('https://clipground.com/images/animated-lungs-clipart-2.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
margin: 0;
padding: 0;
}
form {
background-color: rgba(255, 255, 255, 0.7);
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea {
background-color: rgba(255, 255, 255, 0.7);
border: none;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
width: 100%;
box-sizing: border-box;
}
#header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
h1 {
margin: 0;
font-size: 28px;
}
#main {
display: flex;
justify-content: center;
align-items: center;
height: calc(100vh - 80px);
}
.form-container {
text-align: center;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 10px;
padding: 30px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-container h2 {
margin: 0;
font-size: 24px;
margin-bottom: 20px;
}
.form-container form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.form-container .form-group {
flex-basis: calc(50% - 10px);
margin-bottom: 20px;
}
.form-container .form-group label {
display: block;
margin-bottom: 5px;
}
.form-container .form-group input[type="text"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.form-container input[type="submit"] {
padding: 10px 20px;
background-color: #333;
color: #fff;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.2s;
margin-top: 10px;
}
.form-container input[type="submit"]:hover {
background-color: #555;
}
</style>
</head>
<body>
<div id="header">
<h1>Lung Cancer Prediction</h1>
</div>
<div id="main">
<div class="form-container">
<h2>Predict Lung Cancer</h2>
<b><u>Enter Categorical Values ranging from 1 to 10</u></b>
<form action="/lung/result3">
<div class="form-group">
<label for="cob">The level of coughing of blood of the patient </label>
<input type="text" id='cob' required name="cob"> <br> <br>
</div>
<div class="form-group">
<label for="au">The level of alcohol use of the patient. </label>
<input type="text" id='au' required name="au"> <br> <br>
</div>
<div class="form-group">
<label for="ps">The level of passive smoking of the patient</label>
<input type="text" id='ps' required name="ps"> <br> <br>
</div>
<div class="form-group">
<label for="ob">The level of obesity of the patient.</label>
<input type="text" id="ob" required name="ob"> <br> <br>
</div>
<div class="form-group">
<label for="smo">The level of smoking of the patient. </label>
<input type="text" id="smo" required name="smo"> <br> <br>
</div>
<div class="form-group">
<label for="bd">The level of balanced diet of the patient. </label>
<input type="text" id="bd" required name="bd"> <br> <br>
</div>
<div class="form-group">
<label for="cp">The level of chest pain of the patient.</label>
<input type="text" id="cp" required name="cp"> <br> <br>
</div>
<div class="form-group">
<label for="ft">The level of fatigue of the patient.</label>
<input type="text" id="ft" required name="ft"> <br> <br>
</div>
<div class="form-group">
<label for="ap"> The level of air pollution exposure of the patient.</label>
<input type="text" id="ap" required name="ap"> <br> <br>
</div>
<div class="form-group">
<label for="gr"> The level of genetic risk of the patient.</label>
<input type="text" id="gr" required name="gr"> <br> <br>
</div>
<input type="submit" value="Submit">
<input type="button" value="Back to Home" onclick="window.location.href='mainpage'">
</form>
</div>
</div>
</body>
</html>