Introduction to JavaScript Conditionals - Switch Statements

Difficulty: Beginner
Duration: 3 minutes and 42 seconds
Students: 207
Rating: 5/5

This practical lesson explores JavaScript Conditionals (Switch statements). You will learn what they are and how to use them.

Learning Objectives

  • Learn the difference in structure between an if statement and a switch statement
  • Learn what is the switch expression
  • Learn how to create a case clause
  • Learn how to create a default case
  • Learn the use of the break statement in the switch statement

Intended Audience

This lesson is intended for anyone who wants to learn about JavaScript switch statements.

Prerequisites

Anyone with an interest in JavaScript switch statements or who wants to improve their knowledge of JavaScript in general.