+ 2

click event not working..

pls guys go through my code, i keep getting "cannot get property of null.. although i included the windows.onload function https://code.sololearn.com/WG96uRXHnPtY/?ref=app

23rd Aug 2020, 3:44 PM
ROSE TOIYO JOHN
ROSE TOIYO JOHN - avatar
4 Respostas
+ 3
pls what did you add to the code.. i haven't noticed it yet @rkk
23rd Aug 2020, 3:59 PM
ROSE TOIYO JOHN
ROSE TOIYO JOHN - avatar
+ 3
rkk thanks a lot... I didn't notice...
23rd Aug 2020, 4:31 PM
ROSE TOIYO JOHN
ROSE TOIYO JOHN - avatar
+ 1
ROSE TOIYO JOHN 1) you access the wrong button id name from js.(check the ID spelling properly) 2) it's setInterval and not Setinterval. 3) check your variable spelling and capital/small letters properly.
23rd Aug 2020, 4:10 PM
minirkk
minirkk - avatar