daysLeft.textContent = 25 - currentDate.getDate() +" days left to Christmas! 🎅"
}
remaining()
// Stretch goals:
// - Animate the loader.
// - Change the colors depending on the meter's value.
const meter = document.getElementById("meter")
const daysLeft = document.getElementById('daysLeft')
// Task:
// Write a function to wire up the festivity loader to reflect how many days are remaining until
Christmas!
function remaining() {
const currentDate = new Date()
meter.setAttribute('value', 25 - currentDate.getDate())