Conditional Comments in HTML

Conditional Comments in HTML

Many of us would have come across scenarios where we wanted a different Stylesheet or CSS properties for IE (Internet Explorer). While many would have resorted to Feature detection / browser detection there is an easier approach to achieve this. You can use...
Ternary operator in Javascript

Ternary operator in Javascript

Some of the most useful “utilities” in any programming languages are the conditional statements. Conditional statements help a lot in making the piece of code dynamic and intelligent. In fact it would not be an exaggeration to say that without conditional...