Javascript – setTimeout not starting in js
I am trying to make stopwatch but setTimeout is not working as intended.when I press state button then only count variable changes and not according to setTimeout function. Here's my javascript code const hr_button = document.querySelector("#hr"); const min_button = document.querySelector("#min");…