Initial commit... a site is born (again? finally?)
This commit is contained in:
15
site/script.js
Normal file
15
site/script.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Minimal JavaScript for mifi Ventures website
|
||||
* Primary purpose: Dynamic copyright year
|
||||
*/
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
// Update copyright year to current year
|
||||
// Script runs with defer, so DOM is always ready
|
||||
const yearElement = document.getElementById('copyright-year');
|
||||
if (yearElement) {
|
||||
yearElement.textContent = new Date().getFullYear();
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user