Skip to content

Commit

Permalink
-appointment (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
CS251000 authored May 14, 2024
1 parent 41f86e0 commit 5154882
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ <h2>Make an Appointment</h2>
<textarea class="form-control" name="message" rows="5" placeholder="Message (Optional)"></textarea>

</div>
<div class="text-center"><button type="submit">Make an Appointment</button></div>
<div class="text-center"><a href="successful_appointment.html" style="text-decoration: none;"><button type="submit">Make an Appointment</button></a></div>
</form>
</div>

Expand Down
70 changes: 70 additions & 0 deletions successful_appointment.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Appointment Booking Success</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

.container {
text-align: center;
background-color: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 90%;
}

h1 {
color: #2d46eb;
margin-bottom: 20px;
}

.btn {
padding: 10px 20px;
background-color: #2d46eb;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
transition: background-color 0.3s;
display: inline-block;
}

.btn:hover {
background-color: #bab8d0;
}

/* Media Queries */
@media screen and (max-width: 600px) {
.container {
padding: 10px;
}
h1 {
font-size: 22px;
}
.btn {
padding: 8px 16px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>Your appointment has been successfully booked</h1>
<a href="index.html" class="btn">Home</a>
</div>
</body>
</html>

0 comments on commit 5154882

Please sign in to comment.