forked from Ratan5545/Hospital_management_system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Orthopedics.html
162 lines (153 loc) · 4.53 KB
/
Orthopedics.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html>
<head>
<title>Cardiology Doctor Specialist - Reviews</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
color: #333;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
border-radius: 10px;
}
h1, h2, h3 {
font-weight: normal;
color: #333;
}
h1 {
font-size: 36px;
margin-bottom: 10px;
}
h2 {
font-size: 24px;
margin-top: 30px;
margin-bottom: 20px;
}
p, ul {
font-size: 18px;
line-height: 1.5;
margin: 0;
padding: 0;
}
label {
display: inline-block;
font-size: 18px;
margin-bottom: 10px;
}
input, select, textarea {
font-size: 18px;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
width: 100%;
margin-bottom: 20px;
box-sizing: border-box;
}
input[type="submit"] {
background-color: #4caf50;
color: #fff;
border: none;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #3e8e41;
}
.review-item {
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
margin-bottom: 20px;
background-color: #f9f9f9;
}
.review-item p {
margin-bottom: 5px;
}
.review-item strong {
font-size: 20px;
color: #333;
}
.review-item span {
font-size: 18px;
color: #777;
}
hr {
border: none;
border-top: 1px solid #ccc;
margin: 20px 0;
}
</style>
</head>
<body>
<div class="container">
<h1><b>Orthopedics Doctor Specialist</br></h1>
<h2>About</h2>
<p>Dr.Samiya is a board-certified orthopedic surgeon with over 15 years of experience in treating musculoskeletal conditions. He received his medical degree from Harvard Medical School and completed his residency at the Hospital for Special Surgery in New York City. Dr. Chen specializes in the treatment of conditions such as joint replacements, sports injuries, fractures, and arthritis. He is committed to providing comprehensive care to his patients, including non-surgical and minimally invasive treatment options whenever possible. Dr. Chen is dedicated to staying up-to-date with the latest advancements in orthopedic surgery and is known for his compassionate and personalized approach to patient care.</p>
<h2>Reviews</h2>
<div id="reviews">
<p>Leave a review:</p>
<form id="review-form" action="#" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required><br>
<label for="rating">Rating:</label>
<select id="rating" name="rating" required>
<option value="">Select a rating</option>
<option value="5">5 stars</option>
<option value="4">4 stars</option>
<option value="3">3 stars</option>
<option value="2">2 stars</option>
<option value="1">1 star</option>
</select><br><br>
<label for="review">Review:</label>
<textarea id="review" name="review" rows="4" cols="50" required></textarea><br><br>
<input type="submit" value="Submit">
</form>
<hr>
<p>Reviews:</p>
<ul id="review-list">
<!-- Reviews will be dynamically added here -->
</ul>
</div>
<script>
// Add event listener to review form submit button
document.querySelector('#review-form').addEventListener('submit', function(event) {
event.preventDefault(); // Prevent form submission
var name = document.querySelector('#name').value;
var rating = document.querySelector('#rating').value;
var review = document.querySelector('#review').value;
var reviewList = document.querySelector('#review-list');
// Create new review item
var li = document.createElement('li');
var p = document.createElement('p');
var strong = document.createElement('strong');
var span = document.createElement('span');
strong.textContent = name;
span.textContent = rating + ' stars';
p.appendChild(strong);
p.appendChild(document.createTextNode(' rated '));
p.appendChild(span);
li.appendChild(p);
li.appendChild(document.createTextNode(review));
reviewList.appendChild(li);
// Clear form fields
document.querySelector('#name').value = '';
document.querySelector('#rating').value = '';
document.querySelector('#review').value = '';
});
</script>
<style>
body {
background-image: url('get-more-amazon-reviews.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
</style>
</body>
</html>