-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
38 lines (34 loc) · 961 Bytes
/
blog.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
<!DOCTYPE html>
<html lang = "en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Sean's Website</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script>
// loads header
function loadHeader() {
fetch('nav.html')
.then(response => response.text())
.then(data => {
document.getElementById('replace_with_navbar').outerHTML = data;
});
}
document.addEventListener('DOMContentLoaded', loadHeader);
</script>
</head>
<body>
<div id="replace_with_navbar"></div>
<br><br><br><br><br>
<br>
</p>
<!-- headings -->
<h1>About Me</h1>
<p>
This is dummy text that will be replaced with links to actual blog posts.
</p>
<script src="script.js"></script>
</body>
<footer><a href="#index.html">↑</a>  <a class="name" href="credit.html">Credits</a></footer>
</div>
</html>