st month = monthNames[now.getMonth()]; // Get the full month name
          const year = now.getFullYear();
          dateElement.textContent = `${month} ${day}, ${year}`;
        }

        // Update the date weekly
        function updateWeekly() {
          const now = new Date();
          const dayOfWeek = now.getDay(); // 0 (Sunday) to 6 (Saturday)
          const timeUntilNextUpdate = (7 - dayOfWeek) * 24 * 60 * 60 * 1000; // Time until next Sunday
          updateLastUpdatedDate();
          setTime