Learn JavaScript Part 18

You can use if/else statements to control the flow of your program. This lesson goes over these and few other ways to control how your program flows with JavaScript.