-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (33 loc) · 1.27 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Hospital Availability</title>
</head>
<body>
<header>
<h1>Hospital Availability Tracker</h1>
</header>
<main>
<section id="hospital-list">
<h2>Hospitals in Your City</h2>
<div class="hospital-card">
<h3>City General Hospital</h3>
<p><strong>Beds Available:</strong> <span class="availability" id="beds-city-general">5</span></p>
<p><strong>Medicine Available:</strong> <span class="availability" id="meds-city-general">10</span></p>
</div>
<div class="hospital-card">
<h3>Eastside Medical Center</h3>
<p><strong>Beds Available:</strong> <span class="availability" id="beds-eastside"><B>3</span></p>
<p><strong>Medicine Available:</strong> <span class="availability" id="meds-eastside">7</span></p>
</div>
</section>
</main>
<footer>
<p>© 2024 Hospital Availability Tracker</p>
</footer>
<script src="script.js"></script>
</body>
</html>