lundi 19 octobre 2020

II have created an stop Watch in which I have completed everything

 if(sec==0){
                min++;
                 minv.innerHTML='0'+min;
    
               }
    
            }

here min is a variable whose value is 0 and minv is a span tag which I selected with DOM

if have used if condition that if sec==0 then increase min variable by 1 it increases first time but from hen it does not increase

Aucun commentaire:

Enregistrer un commentaire