JavaScript Confirm box
Confirm boxes are usually use to take confirmation from the user when some condition occur. For example suppose you have condition that you have two cars one is red and another is blue and you want to confirm with your friend that do you want to go by red or blue car. So such kind of situations also occurs in programming world.