My Blog

Visual Studio Code vs. Sublime Text

I want to start by giving high praise to the Visual Studio Code team at Microsoft. It’s an incredible product that I believe will only get better. The git integration, the task runner integration, JavaScript debugging, IntelliSense, and parameter hinting {…}

Posted by: John Dugan

Don’t Use Large Words When Small Words Will Do

This post isn’t directed toward any specific experience I’ve recently had. It’s inspired by the communications I encounter as a human being every day. Typically, I write about web development. I document things that I encounter and [try to] explain {…}

Posted by: John Dugan
Graphic of a code symbol set against a green background

Fixed Headers With hash Links

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 {…}

Posted by: John Dugan
Graphic of a code symbol set against a green background

Four Rules to Define this in JavaScript

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 {…}

Posted by: John Dugan
Graphic of a code symbol set against a green background

Demystifying Debounce in JavaScript

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 {…}

Posted by: John Dugan

Accessing WAMP from a Virtual Machine

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 {…}

Posted by: John Dugan