vendredi 23 novembre 2018

testing 123 this is a test how do i

test some silly code xD, its for my obs timer xDDDD ;) here ya go aefnjuujtiuwqut9u9t9ueituieitgly code xD, its for my obs

function startTimer(duration, display) {
        var timer = duration, minutes, seconds;
        setInterval(function () {
            minutes = parseInt(timer / 60, 10)
            seconds = parseInt(timer % 60, 10);

            minutes = minutes < 10 ? "0" + minutes : minutes;
            seconds = seconds < 10 ? "0" + seconds : seconds;

            display.textContent = minutes + ":" + seconds;

            if (--timer < 0) {
                timer = duration;
            }
        }, 1000);
    }

    window.onload = function () {
        var fiveMinutes = 60 * 5,
            display = document.querySelector('#time');
        startTimer(fiveMinutes, display);
    };

hello this is a test

<body>
<div><span id="time">01:00</span> minutes!</div>
</body>

ly code xD, its for my obsly code xD, its for my obsly code xD, its for my obsly code xD, its for my obs

ly code xD, its for my obsly code xD, its for my obsly code xD, its for my obsly code xD, its for my obs

Aucun commentaire:

Enregistrer un commentaire