author(s): Torstein Hønsi
An updated example based on this StackOverflow answer (http://stackoverflow.com/a/7220510/102401)
No-Library (pure JS), HTML, CSS, JavaScript
author(s): kamal deka
jQuery 3.3.1, HTML, CSS, JavaScript