Learn about JavaScript Switch Cases, using The Switch Keyword in JavaScript. A Codecademy Programming Full Course 2022, In this lesson we take a look at a shorter and cleaner way to do conditionals instead of if-else statements, called a switch statement. With a switch statement we get the same functionality as an if-else statement with less code and cleaner looks. We are able to use the switch keyword to provide a value to it and then it will check it against different cases. The case that matches the switch condition will run the code we provide. We are then able to use a break to stop our code after that switch statement runs. We learn that if we do not provide a break, then the code will keep executing other cases until it runs into a break, or all the way down to the default case. The default case will run if all other cases return false. Understanding switch cases is important and is easy when you already understand how if-else statements work. Mastering switch cases and the switch keyword is an epic milestone for beginner programmers and pave the way for creating fancy programs. Learn the switch case to impress potential employers and to show off to your other programming friends. Continue on once you have mastered the switch case in JavaScript programming. JavaScript Switch Cases are awesome to understand and may come in handy in the futrure.