Hello I have this snippet of code that will fire some even after time that I choose.
The problem is that if, for example I put 3 seconds it will fire every 3 seconds
You don't need setInterval, you need setTimeout.
setInterval
setTimeout
As the name says, setInterval fires regularly, while setTimeout fires only once. The usage is the same though.