-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (35 loc) · 1.18 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
35
36
37
38
39
40
<!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>
<p class = "aligncenter">
<img class = "center-image" src = "assets/images/eclipse.jpg" style="width:300px;height:360px;" alt = "For starters, here's a picture I took of the 2024 eclipse. The lens bloom shows the intersection with the moon.">
<br>
</p>
<!-- headings -->
<h1>Hello There!</h1>
<p>
I'm an Applied Physics major and hobbyist programmer coming out of the United States. Stay and explore a while!
</p>
<script src="script.js"></script>
<footer><a href="#index.html">↑</a>  <a class="name" href="credit.html">Credits</a></footer>
</body>
</html>