When setProperty(“dice”+i,“border-width”,1); is added to the code and you roll the dice many times, the dice seem to move to the left … WHY??? This bothers me soooo much and I can’t explain it to my kids. We need the border width so the white border only shows up for even numbers.
I did try it at home last night and did not experience the drifting … Chrome was the browser I was using.
Then when I came to school (using Chrome), it was drifting. It happened with all of my students at school too. So it’s a weird thing, but not actually a coding problem. I can live with that. Strange tho.
Did the same left moving phenomenon to two student in my class using Chrome browser. It does not do the same on Internet Explorer so it most likely is just a browser issue. Fun phenomenon though.