-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprogram.html
More file actions
57 lines (51 loc) · 1.55 KB
/
Copy pathprogram.html
File metadata and controls
57 lines (51 loc) · 1.55 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Programs - ACIC CBIT</title>
</head>
<body>
<div>
<!-- navigation section -->
<section id ='navigation'>
<!-- Placeholder for nav -->
<div id="nav"></div>
</section>
<!-- end of navigation section -->
</div>
<div>
<!--programs section -->
<section id ="programs">
<h1>Programs</h1>
<p>Information about our programs will be displayed here.</p>
</section>
<!--end of programs section-->
</div>
<div>
<!-- footer section -->
<section id ="footer">
<!-- Placeholder for footer -->
<div id="footer-content"></div>
</section>
<!-- end of footer section -->
</div>
<!-- Load Navigation and Footer -->
<script>
// Load nav.html into this page
fetch("nav.html")
.then(response => response.text())
.then(data => {
document.getElementById("nav").innerHTML = data;
})
.catch(error => console.error('Error loading navigation:', error));
// Load footer.html into this page
fetch("footer.html")
.then(response => response.text())
.then(data => {
document.getElementById("footer-content").innerHTML = data;
})
.catch(error => console.error('Error loading footer:', error));
</script>
</body>
</html>