After creating div elements, how is it that they may be undefined when trying to manipulate them in the Dom?
问题 var initialCircle; var i; var randomXPos; var randomYPos; var colorArray; colorArray=[ 'aliceblue','lavender','powderblue','lightblue','lightskyblue','skyblue','deepskyblue','lightsteelblue', 'dodgerblue','cornflowerblue','steelblue','cadetblue','mediumslateblue','slateblue','darkslateblue','royalblue','blue','mediumblue','darkblue','navy','midnightblue','blueviolet', 'indigo']; var randomColor; function startBouncingHoverCircles(){for(i=0;i<5;i++){randomXPos = Math.floor(Math.random() * 1200