Make decisions with JavaScript

Beginner
Student
Azure

This lesson covers the basics of JavaScript if/else decision-making concepts. You'll learn how comparing variables, using Booleans, and using if/else statements allow you to make decisions in your code.

Learning objectives

In this module, you'll:

  • Review Booleans.
  • Learn about comparison operators.
  • Explore how if and else are used in JavaScript.
  • Discover how to form conditions and make decisions with logical operators.

Prerequisites

None