Project skeletoning

This commit is contained in:
April Eaton 2025-12-14 19:31:52 +01:00
parent f2070f0797
commit c2804d1329
17 changed files with 90 additions and 0 deletions

8
global/loadin.js Normal file
View file

@ -0,0 +1,8 @@
function loadHTML(elementId, url) {
fetch(url)
.then((response) => response.text())
.then((data) => {
document.getElementById(elementId).innerHTML = data;
})
.catch((error) => console.error("Error loading HTML:", error));
}