[02] - 05 - Understanding app.js
๐
1. Set Dynamic Footer Year
const date = document.getElementById('date');
date.innerHTML = new Date().getFullYear();
โ
This grabs the current year and inserts it into the <span id="date"> in the footer so it's always up-to-date.
๐ 2. Navbar Togg...
projects-web-dev.hashnode.dev3 min read