Canvas countdown

Pozdrav svima kako da promjjenim variablu i u neko drugo slovo jel kad promjenim vise neradi… u js datoteci je to vjv zapisano al kak sad to promjenit jel to od google je sve nabacano… htio bi variablu i promjenit u it a da radi…

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<canvas></canvas>
<script>
$(function () {
        var width = 200;
        var height = 200;
        $('canvas').width(width).height(height);
        var ctx = $('canvas')[0].getContext('2d');
        var i = 60;
        (function draw() {
            with(ctx) {
                fillStyle = '#000';
                fillRect(0, 0, width, height);
                fillStyle = '#0f0';
                font = 'bold 20px Arial';
                fillText(i, 100, 50)
                fill();
            }
            if (!(i--)) return;
            setTimeout(draw, 1000);
        })();
    });
</script>

Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Profit Monkey