Most everything is the same except I output the elapsed rendering time in a DIV and I’ve changed the 10,000 DIVs to “tiles” displayed inline-block style.
Hi Stephen – You are welcome! First of all I wanna thank you for taking the time to write a comment and produce a CodePen version of this. I think it might help people even more understanding basic principles of working with DOM elements. JJ
Thanks for this article. Here’s a CodePen I created largely based on the source above: https://codepen.io/jones1618/pen/qvqZEy
Most everything is the same except I output the elapsed rendering time in a DIV and I’ve changed the 10,000 DIVs to “tiles” displayed inline-block style.
LikeLiked by 1 person
Hi Stephen – You are welcome! First of all I wanna thank you for taking the time to write a comment and produce a CodePen version of this. I think it might help people even more understanding basic principles of working with DOM elements. JJ
LikeLike