forked from tushargupta1504/Medical-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b89f640
commit da51eb4
Showing
3 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: Arial, sans-serif; | ||
} | ||
|
||
body { | ||
background-color: #f0f4f8; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
.container { | ||
background-color: white; | ||
padding: 30px; | ||
border-radius: 10px; | ||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); | ||
width: 400px; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
margin-bottom: 20px; | ||
color: #333; | ||
} | ||
|
||
.appointment-form { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.form-group { | ||
margin-bottom: 15px; | ||
} | ||
|
||
.form-group label { | ||
margin-bottom: 5px; | ||
font-size: 14px; | ||
color: #555; | ||
} | ||
|
||
.form-group input, | ||
.form-group select, | ||
.form-group textarea { | ||
width: 100%; | ||
padding: 10px; | ||
border: 1px solid #ddd; | ||
border-radius: 5px; | ||
font-size: 14px; | ||
} | ||
|
||
.form-group textarea { | ||
resize: none; | ||
} | ||
|
||
.btn { | ||
background-color: #4CAF50; | ||
color: white; | ||
padding: 10px; | ||
border: none; | ||
border-radius: 5px; | ||
font-size: 16px; | ||
cursor: pointer; | ||
} | ||
|
||
.btn:hover { | ||
background-color: #45a049; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Doctor Appointment</title> | ||
<link rel="stylesheet" href="Appointment.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Book Your Doctor's Appointment</h1> | ||
|
||
<form class="appointment-form"> | ||
<div class="form-group"> | ||
<label for="name">Full Name:</label> | ||
<input type="text" id="name" name="name" placeholder="Enter your full name" required> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="email">Email:</label> | ||
<input type="email" id="email" name="email" placeholder="Enter your email" required> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="phone">Phone Number:</label> | ||
<input type="tel" id="phone" name="phone" placeholder="Enter your phone number" required> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="date">Appointment Date:</label> | ||
<input type="date" id="date" name="date" required> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="doctor">Select Doctor:</label> | ||
<select id="doctor" name="doctor" required> | ||
<option value="" disabled selected>Select a doctor</option> | ||
<option value="dr_smith">Dr. John Smith</option> | ||
<option value="dr_jones">Dr. Emily Jones</option> | ||
<option value="dr_brown">Dr. Michael Brown</option> | ||
</select> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="message">Additional Notes:</label> | ||
<textarea id="message" name="message" rows="4" placeholder="Any special concerns or requirements"></textarea> | ||
</div> | ||
|
||
<button type="submit" class="btn">Book Appointment</button> | ||
</form> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters