CSS Specificity

CSS Specificity

Style sheets, style tags, inline styles; if you could override a style and make it important, rest assured, it was. About a year ago, I had a front-end project that was a mess, particularly the CSS.

Read more

Categories: Training | Tags: CSS

Git Hooks for Checking Tabs vs Spaces

Git Hooks for Checking Tabs vs Spaces

While wars rage on about why to use spaces or tabs over the other, we are not here to talk about why we do not use tabs in a project. No, no, we are here to talk about git hooks.

Read more

Categories: Software Development | Tags: git, gitHooks, Source Control

Save Me Not

Save Me Not

Buttons just begged to be pushed. We design them that way. But what if they do not need to be pushed? A while back I hit a project requirement that a form for user data could not be submitted back to the server unless there had been a change. I did way more work (and made the browser do way more work) than necessary.

Read more

Categories: Software Development | Tags: DOM, javascript, jQuery

"In Javascript everything is an object!" Mmm, Wrong.

Most people will tell you that in javascript, everything is an object. That is not actually true, through the magic of auto-boxing javascript fools you into thinking it is an object. Quite a few of the things you use every day in javascript are actually primitives, not objects.

Read more

Categories: Software Development | Tags: javascript

Javascript dot notation versus bracket notation

Javascript dot notation versus bracket notation

Javascript is one of those fun and unique languages that let you do things differently, just because. An example of this is the javascript object model. An object in javascript is simply a hashmap of key-value pairs where the key is always a string and the value can be anything.

Read more

Categories: Software Development | Tags: javascript

Contact Us