By adopting inline styles, we can get all of the programmatic affordances of JavaScript. (more…)
Read more »
You can think of a JavaScript class as a house that contain variables and functions. The same reason we use a variable to store numbers is… (more…)
Read more »
In my last blog post about my game Core Defense I raved about how I love JavaScript for making cross-platform games and that I would soon make a boilerplate out of the game's setup. Over half a year later I am sad to announce that I won't be doing such a ... (more…)
Read more »
Using Rollup.JS to create JS modules and libraries is easy, it can easily output AMD, CJS, ES, IIFE and UMD JS formats with minimal configuration. Its plugin structure really nice too, you should find nearly anything you need here. This blog will focus on... (more…)
Read more »
JavaScript setInterval() method either call a function evaluates an expression at specified number of milliseconds. This method continues to call/evaluate the expression until window is called. Another way to stop this method is by calling clearInterval()... (more…)
Read more »