Calculating
the difference between two datesLearn how to calculate the difference
between two dates in JavaScript, and in the process, derive some
useful applications such as counting down to a particular event,
counting up, displaying what's new on your page etc.

Generating a random
number in JavaScriptA random number is useful- if not required- in the creation of certain
popular JS applications, such as a dice, random image script, or random link generator.
Learn how to generate a random number in JavaScript.