mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Add frontend files, improve backend.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
function AddToDom() {
|
||||
var nav = document.createElement("nav");
|
||||
nav.innerHTML = "<a href='index.html'>Home</a> | <a href='about.html'>About</a> | <a href='contact.html'>Contact</a>";
|
||||
document.body.appendChild(nav);
|
||||
console.log("Added nav to dom");
|
||||
}
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
AddToDom();
|
||||
});
|
||||
Reference in New Issue
Block a user