8 May 2019 by W∴ Balboos, GHB
You click the button and how does it know what to do? Also, it looks more like jQuery than plain javascript. And, of course, including parts of the code that have no relevance to the problem. Of course, reading the code and commentary, I have a very strong suspicion you copied the whole thing...