With the use of the switch statement you can check for many conditions at once, and the great thing is that it is actually more efficient programming to do this. A true win-win situation! The way the Switch statement works is it takes a single variable as input and then checks it against all the […]


Concept is to change the CSS file of website for user to give website new color look. It is done by creating a cookie in user’s system. One switch file, other pages and css files are used in this example. Switch file change CSS applied at website, creates a cookie, saves it and after that […]