Home › Forums › JavaScript › Add and remove elements repeatedly › Reply To: Add and remove elements repeatedly
May 22, 2014 at 1:25 am
#170845
Member
I want to create the ‘div’ elements and them remove repeatedly to sort of create an animation of divs randomly changing colors.
Not sure that removing them from the DOM and adding them back just to change the background is the best option here.