-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b851a22
commit 5a99f7c
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> | ||
|
||
<!-- headings --> | ||
<h1>First Post!</h1> | ||
|
||
<p> | ||
Hello everyone! | ||
|
||
My name is Sean, and welcome to my website! Here, I'll be posting my thoughts occasionally on things that interest me, like cooking, programming, and science. Maybe I'll even set up RSS properly! | ||
</p> | ||
|
||
|
||
|
||
<script src="/script.js"></script> | ||
<footer><a href="#index.html">↑</a>  <a class="name" href="/credit.html">Credits</a></footer> | ||
</body> | ||
</html> |