100-project-100-days-website/100_projects/1-saudi_founding_day/js/main.js
2023-02-20 11:17:33 +03:00
Ask

13 lines
361 B
JavaScript

{b6d659d2665eb5ab0ae78f460b9fc91c31167c11 true 361 main.js 0xc001de29a0}

// Toggle Menu
function menuToggle(){
const menuToggle = document.getElementById('menuToggle');
const navigation = document.getElementById('navigation');
menuToggle.classList.toggle('active');
navigation.classList.toggle('active');
};
// Time & Date (Footer)
setInterval(function(){
document.getElementById('date').innerHTML = Date();
},1000);