It’s been 15 days since the last challenge. In this challenge, we are going to
“steal” multiple checkbox selection’s feature from Gmail. Great artist steal
they say! Here’s the demo.
It’s really different from Wes Bos solution. I don’t fully watch the video.
Now I realize how tedious it is to work with the DOM without any help from
third-party libraries (JQuery perhaps?). I have to “polyfill” simple method
for iterating each DOM element because Array.prototype.forEach cannot handle
NodeList. I feel sorry for being a newbie.
For more about the polyfill, visit this blog. I think
Todd Motto did a really good job explaining how to deal with NodeList.