diff --git a/aboutus.html b/aboutus.html index b4c268f..4334540 100644 --- a/aboutus.html +++ b/aboutus.html @@ -68,30 +68,8 @@

Our Story

- + + diff --git a/contact.html b/contact.html index 91b4ef5..4a8ba2f 100644 --- a/contact.html +++ b/contact.html @@ -97,30 +97,8 @@

Inquiry Form

- + + diff --git a/footer.html b/footer.html new file mode 100644 index 0000000..57f4dd2 --- /dev/null +++ b/footer.html @@ -0,0 +1,25 @@ + + diff --git a/footer.js b/footer.js new file mode 100644 index 0000000..96225d5 --- /dev/null +++ b/footer.js @@ -0,0 +1,7 @@ +document.addEventListener("DOMContentLoaded", function() { + fetch("footer.html") + .then(response => response.text()) + .then(data => { + document.querySelector("body").insertAdjacentHTML("beforeend", data); + }); +}); diff --git a/home.html b/home.html index 2250185..b1a3ee2 100644 --- a/home.html +++ b/home.html @@ -33,8 +33,8 @@