Applications

Web Development

I was working on a site today that had several links in which the href attribute references an id or hash value on another page. The site has a fixed header, so I needed to way to offset the element {…}

Understanding how this works in JavaScript is fairly simple. Knowing what this points to however… that is much more difficult. Scope and context become important concepts to understand. Knowing exactly what this points to and why within each function/method in {…}

There are several situations in JavaScript where you want a function that is bound to an event to fire only once after a specific amount of time has passed. Functions bound to the resize and scroll events are the typical {…}

With all modern browsers now embracing automatic upgrades, it won’t be much longer that you have to worry about sites being compatible with old versions of Internet Explorer. However, a significant portion of site owners will continue to support old {…}

Hoisting is one of the more confusing aspects of JavaScript. The concept of hoisting was created by developers to explain what happens during the compilation phase when variables and function declarations are moved — or hoisted — to the top {…}

I remember the first time I encountered a solution that went something like: “All you need to do is add it to your PATH variable.” Huh? What is a PATH variable?
The PATH variable is just that, a variable. More {…}