I am trying to do the following in plain JS and am failing miserably:
0_ Dynamically create x amount of stars of an existing dom element
1_ Fill an area with randomly positioned stars (dots at this point)
2_ Then animate the alpha in and out at random times
Issue: The console log is not printing the generated random numbers for the index
Thanks for your help!
See the Pen 31632d94b995ed3af8c5f917a69228c8 by dada78 (@dada7