79137499

Date: 2024-10-29 13:53:54
Score: 2
Natty:
Report link

Code should work fine. Problem is in timer duration. The duration 5000 is actually seconds not milliseconds. So your timer will be fired but after 5000 seconds(i.e. after 1 hour 23 minutes and 20 seconds). If you want to fire it after 5 seconds then set the duration to 5 only.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: swaran