Nice tut Nick. One thing, I would probably put this in a closure so that constants like 'buttons' won't clash with other code. (()=>{ //your code })();
I realized after releasing it that buttons probably wasn’t the best variable to use. Great for testing but not for production. Should have been something like ‘rippleEffectButtons”
For anyone wanting the improved JS that keeps the buttons within its own scope without clashing with other JS here is the link: snippet.codes/u/sleeplesskxng/snippets/788 Thank you @wpeasy for catching this
Really nice video. This is great. If I had to change 2 things, it would be an IIFE so that you prevent code leakage. And whenever I have to write JS, I always wait for the DOM to fully load. So basically put everything in an iife and add a listener for the DOM. Regardless, it was a really nice video. Love it