The Comment Toggle Trick

This trick below can be used to toggle between two sets of code, with one symbol in the code with no additional short-keys to learn, and no tool dependencies! //* /* someCode(); someCode(); // // someOtherCode(); someOtherCode(); /// /// Here is a version for simply commenting code in and out: //* someCode(); //*/ Deactivated / …

The Comment Toggle Trick Read More »

CSS Selectors

The key lies in using CSS selectors efficiently to maximize performance and minimize load time, though this efficient usage matters only for website with thousands of DOM elements and the speed is the key for the existence in the market.