Board Thread:Watercooler/@comment-25523075-20150806154442/@comment-13825175-20150807070930

Curiouscrab wrote:

Penguin-Pal wrote: The second example isn't jQuery tho http://images.wikia.com/lawl-stadium/images/thumb/2/25/SmileDerpBlackSS.png/20px-SmileDerpBlackSS.png Still, I think my example is much easier to comprehend. Of course, anyone knows that a single line function is very easy to comprehend.

As said Penguin-Pal, there is many ways to do it and the solution we give you are not the only one.

If you want your code only in Javascript, I can recommend you some parts of CuriousCrab code rewritten. Or (needs confirmation) :
 * HTML code
 * JS code