This example demonstrates the If...Else statement.
If the time on your browser is less than 10, you will get a "Good morning" greeting. Otherwise you will get a "Good day" greeting.
Your Result: