There are cases when you need to keep a button disabled until the page is rendered. The main reason you may need this is to prevent the user from clicking on a button that is not functional at that point. The easiest way of achieving this is to follow these 2 steps: Disable the button from HTML: <button id="add-to-cart" type="submit"...
Since I started working as a front-end developer, I encountered many situations when JavaScript code was buggy or had various issues even though the logic seemed correct. As a beginner it is difficult to follow all the best practices and sometimes can even be confusing, as this topic can be a bit subjective. Of course, there are a few...
The first thing you need to know here is that Sass and Compass get installed as Ruby gems, so before doing anything else you need to have Ruby installed on your machine. To install Ruby on Windows you can just download the latest version of Ruby Installer and follow the guidance of the installation wizard. At this point you should have...
If you want to add some ‘glitter’ to your site and make it stand out more, or maybe want to improve your site from a user-experience point of view, I encourage you to check this out. jQuery Tools brings together some of the most important user-interface components. From tabs to overlays, from tooltips to form validators, here...
Willing to use new CSS3 and HTML5 features in your projects but having second thoughts because of browser support? Can I Use provides compatibility tables and browser comparison regarding support of HTML5, CSS3, SVG, JS API and more for both desktop and mobile browsers.