Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP - Random timers dinamically - almos there Albert! #42

Closed
reynaldobarrosjr opened this issue May 9, 2018 · 3 comments
Closed

HELP - Random timers dinamically - almos there Albert! #42

reynaldobarrosjr opened this issue May 9, 2018 · 3 comments

Comments

@reynaldobarrosjr
Copy link

Hi Albert! First of all , thanks for the support.
I've did another example where I created random number to initate the timer.

https://gist.github.com/trevobr/37b7e9947a33a3a939ff154f2e7e178a

I want to know if is there an elegant way to accomplish this. As i commented at line 23 , i've tried to iterate using for index to setinterval on locators. But

@albert-gonzalez
Copy link
Owner

Hi!

Why did you use setInterval? You could do that with the addEventListener method.

Can you write the example with the iteration error?

@albert-gonzalez
Copy link
Owner

Related to #40 #41. I am going to close these other issues.

@albert-gonzalez
Copy link
Owner

I close the issue. If you need more help, please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants