I’m trying to rebuild my drum machine on vanila JS
and I have added toggle button which will off or on app.
Question is such how I can to handle my toggle button state?
because now in the console
Now my project look so and in the console I can not find any property to handle On and Off state