We, as programmers often need to generate random numbers in different application. Generating a random integer in javascript can be done using the Math.random() method. In fact it is one of the several ways that we can use to generate a random number with javascript.

In this tutorial, I will explain how you can style odd/even rows without the need of any extra CSS class or JavaScript code.

Creating standard-compliant websites is principal aspect of our work. To test if your page is in quirks mode mode you can simply bookmark this JavaScript code on your browser and hit it while viewing the page that you want to find out its rendering mode.

At times the top and bottom margins of block elements might collapse into a single margin. Here are easy CSS solutions to prevent the margins of your block elements from collapsing.

In this tutorial, you will learn how to add perspective to text in photoshop and keep its sharp edges - in four simple steps.