Project Report
Project Report
Project Report
CODING
Index.html
<html>
<head>
<title>Amrita Hospital</title>
</head>
<div id="main">
<div id="header">
<div class="row-1">
<div class="wrapper">
<div class="logo">
90-4463-87-68 </div>
</div>
</div>
<div class="row-2">
<div class="indent">
<div class="header-box">
<div class="inner">
<ul class="nav">
<li><a href="service.html">Services</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id="content">
<div class="wrapper">
<div class="aside maxheight">
<div class="inner">
<h3>Reservation:Room</h3>
<fieldset>
<div class="field">
<label>Check In:</label>
<select class="select1">
<option>30</option>
</select>
<select class="select2">
<option>SEPT 2015</option>
</select>
</div>
<div class="field">
<label>Check Out:</label>
<select class="select1">
<option>01</option>
</select>
<select class="select2">
<option>oct 2015</option>
</select>
</div>
Rooms:
</fieldset>
</form>
</div>
</div>
</div>
<div class="content">
<div class="indent">
<p class="alt-top">When patients are considering having spine surgery, one of the most common
questions they have is,
“Which is better, a neurosurgeon or an orthopedic spine surgeon?” The quick answer is that for most
types of spine surgery,
<div class="clear"></div>
<div class="line-hor"></div>
<div class="col-1">
<h3>Special Treatemant</h3>
<ul>
<li>FREE Chcekup</li>
<li>Exclusive </li>
</ul>
</div>
<div class="col-2">
<h3>Location</h3>
<dl class="contacts-list">
<dt>India 2015</dt>
<dd>90-3223-63-01</dd>
<dd>90-44-6387-68</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<ul class="nav">
<li><a href="#">Home</a>|</li>
<li><a href="#">Services</a>|</li>
</ul>
<div class="wrapper">
<div class="fleft">Copyright © 2015 <a href="#">Name Here</a>. All Rights Reserved</div>
</div>
</div>
</div>
</html>
Style.css
body {
margin: 0;
padding: 0;
.container {
width: 960px;
margin: 0 auto;
.header {
background: #f4f4f4;
padding: 20px 0;
.header h1 {
margin: 0;
padding: 0 20px;
}
.nav {
background: #333;
color: #e42a2a;
height: 40px;
line-height: 40px;
.nav li {
display: inline;
margin-right: 10px;
.nav a {
color: #fff;
text-decoration: none;
.nav a:hover {
color: #ccc;
.content {
padding: 20px;
.indent {
position: relative;
}
.indent h2 {
margin: 0 0 20px 0;
.indent img {
float: left;
margin-right: 20px;
.indent p {
margin: 0 0 20px 0;
.line-hor {
margin: 0 0 20px 0;
.line-ver {
display: flex;
margin: 0 0 20px 0;
.col-1, .col-2 {
padding: 0 20px;
}
.col-1 h3 {
margin: 0 0 20px 0;
.col-1 ul {
list-style: none;
padding: 0;
.col-1 li {
margin-bottom: 10px;
.col-1 .button {
margin-top: 20px;
.col-2 h3 {
margin: 0 0 20px 0;
.col-2 p {
margin: 0 0 20px 0;
.col-2 dl {
margin: 0 0 20px 0;
}
.col-2 dt {
font-weight: bold;
.col-2 dd {
margin-bottom: 10px;
.alt-top{
text-align: center;
.footer {
background: #333;
color: #fff;
padding: 20px 0;
.footer ul {
list-style: none;
padding: 0;
.footer li {
display: inline;
margin-right: 10px;
}
.footer a {
color: #fff;
text-decoration: none;
.footer a:hover {
color: #ccc;
.footer .wrapper {
display: flex;
justify-content: space-between;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="container">
</div>
</div>
<script src="check.js"></script>
</body>
</html>
about.html
<html>
<head>
<title>Amrita Hospital</title>
</head>
<div id="main">
<div id="header">
<div class="row-1">
<div class="wrapper">
<div class="logo">
90-4463-87-68 </div>
</div>
</div>
<div class="row-2">
<div class="indent">
<div class="header-box">
<div class="inner">
<ul class="nav">
<li><a href="service.html">Services</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<main>
<section class="about-us">
<p>Our hospital management system is designed to provide efficient and effective solutions for
managing hospitals. We offer a range of services, including patient management, appointment
scheduling, billing, and inventory management. Our system is user-friendly and can be easily customized
to meet the specific needs of your hospital.</p>
</section>
<section class="services">
<h2>Our Services</h2>
<ul>
<li>Patient Management</li>
<li>Appointment Scheduling</li>
<li>Billing</li>
<li>Inventory Management</li>
</ul>
</section>
</main>
<footer>
</footer>
</body>
</html>
Check.css
body {
margin: 0;
padding: 0;
.container {
text-align: center;
margin-top: 50px;
button {
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
.availability-container {
display: none;
margin-top: 20px;
.availability-slot {
margin-bottom: 10px;
check.js
var availabilityData = [
{ doctor: "Dr. John Doe", slots: ["9:00 AM", "10:00 AM", "2:00 PM"] },
{ doctor: "Dr. Jane Smith", slots: ["11:00 AM", "1:00 PM", "3:00 PM"] },
];
document.getElementById("checkAvailabilityBtn").addEventListener("click", function() {
availabilityData.forEach(function(item) {
doctorAvailability.classList.add("availability-slot");
var doctorName = document.createElement("h2");
doctorName.textContent = item.doctor;
doctorAvailability.appendChild(doctorName);
item.slots.forEach(function(slot) {
slotItem.textContent = slot;
slotsList.appendChild(slotItem);
});
doctorAvailability.appendChild(slotsList);
availabilityContainer.appendChild(doctorAvailability);
});
});
About.css
body {
line-height: 1.6;
header {
background-color: #f4f4f4;
padding: 20px;
text-align: center;
}
header h1 {
margin: 0;
main {
padding: 20px;
.about-us h2 {
margin-bottom: 10px;
.services ul {
list-style-type: none;
padding: 0;
.services li {
margin-bottom: 10px;
footer {
background-color: #f4f4f4;
padding: 20px;
text-align: center;
}
Services.html
<!DOCTYPE html>
<html lang="en">
<head>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css"
rel="stylesheet"
/>
<script src="scripts.js"></script>
</head>
<body>
<div id="header">
<div class="row-1">
<div class="wrapper">
<div class="logo">
90-4463-87-68 </div>
</div>
</div>
<div class="row-2">
<div class="indent">
<div class="header-box">
<div class="inner">
<ul class="nav">
<li><a href="service.html">Services</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<main class="main--content">
<div class="cards">
<div class="card--data">
<div class="card--content">
<p>
Our emergency department is staffed 24/7 with experienced healthcare professionals who are
ready to provide urgent care for patients in need. We have the latest medical equipment and technology
to quickly diagnose and treat a wide range of conditions.
</p>
</div>
</div>
</div>
<div class="card--data">
<div class="card--content">
<p>
Our inpatient services provide a comfortable and safe environment for patients who require
overnight or extended stays in the hospital. We offer private rooms, personalized care, and a variety of
amenities to make your stay as comfortable as possible.
</p>
</div>
</div>
</div>
<div class="card--data">
<div class="card
````--content">
<p>
Our outpatient services allow patients to receive medical care without having to stay in the
hospital overnight. We offer a wide range of services, including diagnostic tests, minor procedures, and
follow-up care.
</p>
</div>
</div>
<div class="card--data">
<div class="card--content">
<p>
Our surgical services offer a wide range of procedures, including general surgery, orthopedic
surgery, and neurosurgery. We have a team of experienced surgeons and nurses who are dedicated to
providing the best possible care for our patients.
</p>
</div>
</div>
</div>
</div>
</main>
<footer>
</footer>
</body>
</html>
Service.css
/* Reset Styles */
*{
box-sizing: border-box;
margin: 0;
padding: 0;
body {
margin: 0;
padding: 0;
.container {
width: 960px;
margin: 0 auto;
a{
text-decoration: none;
color: #333;
ul {
list-style: none;
button {
cursor: pointer;
background-color: #4CAF50;
color: white;
border-radius: 5px;
margin: 10px;
button:hover {
background-color: #3e8e41;
.container {
width: 960px;
margin: 0 auto;
/* Header Styles */
.header {
background: #f4f4f4;
padding: 30px 0;
.header h1 {
margin: 0;
padding: 40 20px;
.nav {
background: #333;
color: #e42a2a;
height: 40px;
line-height: 40px;
.nav li {
display: inline;
margin-right: 10px;
.nav a {
color: #fff;
text-decoration: none;
.nav a:hover {
color: #ccc;
.content {
padding: 20px;
.indent {
position: relative;
.indent h2 {
margin: 0 0 20px 0;
.indent img {
float: left;
margin-right: 20px;
.main--content {
padding: 20px;
.cards {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.card {
width: 48%;
background-color: #fff;
border-radius: 5px;
padding: 20px;
margin-bottom: 20px;
.card--data {
display: flex;
justify-content: space-between;
align-items: center;
}
Servie.js
event.preventDefault();
if (searchQuery) {
window.location.href = `search-results.html?q=${searchQuery}`;
});
searchButton.addEventListener('click', () => {
event.preventDefault();
// Get the search query from the search bar
if (searchQuery) {
window.location.href = `search-results.html?q=${searchQuery}`;
});
contact.html
<html>
<head>
<title>Amrita Hospital</title>
</head>
<body>
<main>
<h1>Contact Form</h1>
<div class="input__container">
<label for="name">Name:</label>
</div>
<div class="input__container">
<label for="email">Email:</label>
</div>
<div class="input__container">
<label for="message">Message:</label>
</div>
<button type="submit">Send</button>
</form>
</main>
</body>
</html>
Style1.css
*{
margin: 0;
padding: 0;
box-sizing: border-box;
html {
font-size: 62.5%;
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
main {
width: 40rem;
margin: 0 auto;
height: 45rem;
border-radius: 2rem;
padding: 2rem;
h1 {
text-align: center;
font-size: 3rem;
form {
margin: 3rem 0;
display: flex;
flex-direction: column;
row-gap: 2rem;
.input__container {
display: flex;
flex-direction: column;
row-gap: 0.5rem;
.input__container label {
font-size: 1.6rem;
.input__container input,
.input__container textarea {
border-radius: 5px;
resize: none;
button {
align-self: flex-start;
border-radius: 5px;
border: none;
background: #333;
color: #fff;
cursor: pointer;
Contact.js
alert("Name is required.");
return;
return;
alert("Message is required.");
return;
name.value = "";
email.value = "";
message.value = "";
});
function isValidEmail(email) {
const regex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/;
return regex.test(email);
Patient.html
<!DOCTYPE html>
<html lang="en">
<head>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css"
rel="stylesheet"
/>
<script src="scripts.js"></script>
</head>
<body>
<div id="header">
<div class="row-1">
<div class="wrapper">
<div class="logo">
90-4463-87-68 </div>
</div>
</div>
<div class="row-2">
<div class="indent">
<div class="header-box">
<div class="inner">
<ul class="nav">
<li><a href="service.html">Services</a></li>
</ul>
</div>
</div>
</div>
</div>
<main class="main--content">
<h1>Patient Services</h1>
<p>
Our hospital offers a wide range of services for our patients, including appointment scheduling,
medical records, and billing.
</p>
<h2>Appointment Scheduling</h2>
<p>
Schedule your appointments online or over the phone with our convenient appointment scheduling
system. Our team will work with you to find a time that works best for you.
</p>
<h2>Medical Records</h2>
<p>
Access your medical records online, including test results, medications, and medical history. You can
also update your personal information and communicate with your healthcare provider through our
secure messaging system.
</p>
<h2>Billing</h2>
<p>
View and pay your bills online, including medical bills, insurance payments, and statements. You can
also set up automatic payments and view your payment history.
</p>
</main>
<footer>
</footer>
</body>
</html>
Patient.css
/* Reset Styles */
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
line-height: 1.6;
a{
text-decoration: none;
color: #333;
ul {
list-style: none;
button {
cursor: pointer;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
margin: 10px;
button:hover {
background-color: #3e8e41;
}
body {
margin: 0;
padding: 0;
.container {
width: 960px;
margin: 0 auto;
.header {
background: #f4f4f4;
padding: 20px 0;
.header h1 {
margin: 0;
padding: 0 20px;
.nav {
background: #333;
color: #e42a2a;
height: 40px;
line-height: 40px;
}
.nav li {
display: inline;
margin-right: 10px;
.nav a {
color: #fff;
text-decoration: none;
.nav a:hover {
color: #ccc;
.content {
padding: 20px;
.indent {
position: relative;
.indent h2 {
margin: 0 0 20px 0;
.indent img {
float: left;
margin-right: 20px;
}
.indent p {
margin: 0 0 20px 0;
.main--content {
padding: 20px;
max-width: 1200px;
margin: 0 auto;