11th Jun 2018, 8:55 AM
Daniel Cooper
Daniel Cooper - avatar
3 ответов
+ 5
Change window.onload = Count(); to window.onload = function() { Count(); } You will also have to declare a case where the counter will stop working.
11th Jun 2018, 9:00 AM
Akash Pal
Akash Pal - avatar
+ 1
That was actually the purpose of this. I was trying to test myself to see if I could make a start/stop toggle button.
11th Jun 2018, 9:23 AM
Daniel Cooper
Daniel Cooper - avatar
0
Ok, but I have no idea how to make a toggle switch.
11th Jun 2018, 9:27 AM
Daniel Cooper
Daniel Cooper - avatar