Description
Navbar and footer are written directly inside every .html file instead of being separated into reusable navbar.html and footer.html files and loaded dynamically.
Expected behavior
Navbar and footer should be placed in separate files and reused across all pages using a method like fetch() to avoid repetition.
Actual behavior
Same navbar and footer code is duplicated in every HTML file.
Impact
Leads to poor maintainability, repetitive code, and difficulty in updating UI consistently across all pages.
Description
Navbar and footer are written directly inside every .html file instead of being separated into reusable navbar.html and footer.html files and loaded dynamically.
Expected behavior
Navbar and footer should be placed in separate files and reused across all pages using a method like fetch() to avoid repetition.
Actual behavior
Same navbar and footer code is duplicated in every HTML file.
Impact
Leads to poor maintainability, repetitive code, and difficulty in updating UI consistently across all pages.