Example: This example illustrates why “0” is not equal to false in if() condition.
string true if part executed
- if/else condition in CSS
- How to write :hover condition for a:before and a:after in CSS?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.