Tuesday, March 27, 2018
Updated on May 4, 2021 to add a second solution, based on JSON data.Updated on August 30, 2019 to use…
Tuesday, March 20, 2018
In JavaScript, any variable can be used in a logical context, such as the condition of an if statement or…
Tuesday, March 20, 2018
JavaScript Object Notation, or JSON, is a plain text data interchange format. It is based on a subset of the third…
Tuesday, March 20, 2018
JavaScript Object Notation, or JSON, is a text format used to represent JavaScript objects as strings. Like other text formats,…
Tuesday, February 27, 2018
For years, developers have needed a method for adding their own metadata to HTML elements, but no standardized technique existed.…
Thursday, February 1, 2018
Dealing with the DOM can be a very tedious process. Traversing the DOM can quickly clutter your code with nested loops. For…
Monday, January 22, 2018
Writing code in an async programming framework like node.js becomes super complex and unbearably ugly super fast. You are dealing…
Friday, January 19, 2018
Events are the bread and butter in UI development. They are frequently used to kick off JavaScript to deal with…
Friday, January 19, 2018
Most of the JavaScript libraries come wrapped in an easy to refer single object. The object acts as a namespace,…
Thursday, January 18, 2018
Using image beacons is one of those popular techniques that you would probably know about without knowing its name. The technique helps…
Wednesday, January 17, 2018
I recently fully understood the concept of utilizing Currying in JavaScript. The core concept can be grasped from these references: Wikipedia entry on…
Wednesday, January 17, 2018
Never again use for() for looping. Using for() can be dangerous, especially if you use a library which adds attributes…