-
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
a505c5e
commit d008da9
Showing
3 changed files
with
146 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,56 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Appointment</title> | ||
<link rel="stylesheet" href="style.css"> | ||
|
||
</head> | ||
|
||
<body> | ||
<header> | ||
<div> | ||
|
||
<img src="images/img1.jpg" alt="img1" id="img1"> | ||
</div> | ||
<div class="info"> | ||
<form action="/" method="POST"> | ||
<h1>GlowUp Clinic</h1> | ||
<label for="full-name">Full Name:</label> | ||
<input type="text" name="full-name" id="full-name" required> | ||
|
||
<label for="dob">Date of Birth:</label> | ||
<input type="date" name="dob" id="dob" required> | ||
|
||
<label for="gender">Gender:</label> | ||
<select name="gender" id="gender"> | ||
<option value="male">Male</option> | ||
<option value="female">Female</option> | ||
<option value="other">Other</option> | ||
</select> | ||
|
||
<label for="phone">Phone Number:</label> | ||
<input type="tel" name="phone" id="phone" required> | ||
|
||
<label for="email">Email Address:</label> | ||
<input type="email" name="email" id="email"> | ||
|
||
<label for="appointment-date">Preferred Date and Time:</label> | ||
<input type="datetime-local" id="appointment-date" name="appointment_date" required> | ||
|
||
<label for="reason">Reason for Visit:</label> | ||
<textarea id="reason" name="reason" required></textarea> | ||
|
||
<button type="submit">Submit Appointment Request</button> | ||
|
||
</form> | ||
</div> | ||
</header> | ||
<main> | ||
|
||
</main> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
*{ | ||
margin: 0; | ||
padding: 0; | ||
} | ||
header { | ||
height: 50%; | ||
width: 100%; | ||
} | ||
|
||
#img1 { | ||
height: 37em; | ||
width: 48em; | ||
} | ||
|
||
.info { | ||
float: right; | ||
} | ||
|
||
.info { | ||
position: fixed; | ||
top: 10px; | ||
right: 40px; | ||
width: 300px; | ||
padding: 20px; | ||
background-color: #f9f9f9; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
border-radius: 8px; | ||
} | ||
|
||
form { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; | ||
color: rgb(11, 11, 108); | ||
} | ||
|
||
label { | ||
margin: 8px 0 5px; | ||
font-weight: bold; | ||
} | ||
|
||
input, select, textarea { | ||
margin-bottom: 10px; | ||
padding: 3px; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
font-size: 11px; | ||
} | ||
|
||
button { | ||
padding: 8px; | ||
border: none; | ||
border-radius: 4px; | ||
background-color: #007bff; | ||
color: #fff; | ||
font-size: 16px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
button:hover { | ||
background-color: #0056b3; | ||
} | ||
|
||
@media (max-width: 1200px) { | ||
#img1{ | ||
width: 60vw; | ||
} | ||
} | ||
|
||
@media (max-width: 800px) { | ||
header { | ||
flex-direction: column; | ||
} | ||
|
||
#img1 { | ||
width: 100vw; | ||
height: auto; | ||
} | ||
|
||
.info { | ||
position: static; | ||
width: 90%; | ||
margin: 15px auto; | ||
} | ||
} |