Streaming live at 10am (PST)

Counter Up numbers - Every 24 hrs

Hello, everyone, I would like to add a counter section with numbers that increase every 24 hours. Is it possible for me to do it or need to add code into the webflow section. Can anyone help? Thank you. But I am not familiar with code, it would be great that if you can teach me here, I would like to learn too. Thank you so much :slight_smile:

Here is some example code you could choose to start with. If you want to learn JavaScript the forum here is not the place to do it. There are plenty of quality instructional resources on the web for you to choose from.

 <script>
        document.addEventListener("DOMContentLoaded", function() {
        var today = new Date();
        var lastVisit = localStorage.getItem('lastVisit');
        if (lastVisit == null) {
          lastVisit = today.getTime();
        } else {
          lastVisit = parseInt(lastVisit);
        }
        var daysElapsed = Math.floor((today.getTime() - lastVisit) / (1000 * 60 * 60 * 24));
        localStorage.setItem('lastVisit', today.getTime());
        var countDiv = document.createElement('div');
        document.body.appendChild(countDiv);
        countDiv.innerHTML = 'You have visited this page ' + daysElapsed + ' days ago';

});
        </script>

Thank you for your help, I will try to take a look and work on it. :slight_smile: