Casino slot machine

Sir, please help i want to make initial state of slot machine as paused and when i click on spin button the animation running state change from paused to running . I tried on css animation-play-state and js onclick ,But nothing help me . But i am facing problem to do so and i am not find my query answer on internet please help me.

my slot machine link:

Change speed to 0in style.css:
:root {
–speed: 0;
}

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

sir i add a stop button but the animation is not stop when i click it .
Link of github : https://github.com/257277/Website-development-coding-blocks/tree/master/project/CasinoSlotMachine

Please help me.

In this line in script.js $(".slotspin").css(“animation-play-state”, “running”);
You are selecting element slotspin but it is not present in HTML file

Sir can you help me how i stop it in the middle and how the random values are also stop when i click on stop button.
github link:https://github.com/257277/Website-development-coding-blocks/tree/master/project/CasinoSlotMachine

Sir please reply…

Add
clearInterval(animationId)
before line 34 in script.js

I’ve never understood people who complain that no one helps them. I went through hardships myself and after losing my job, got into a bit of debt but still managed to create my own little online gaming app. By the way the Nuxgame API I use integrates a lot of features and has a good range of price points. You can look through the prices here and find the one you like. The technical support is also at a high level. That’s the kind of help I can give you)

thanks for the information

Always the best solution is to create something of your own, and not use template solutions, but sometimes taking solutions for your project that work better is the best way out. For this, there are a huge number of companies that offer software for the site just in order to create all the best and most reliable, here is an example that’s it can be found for you!

It`s good work!)) Am here is an example!