Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 2.09 KB

File metadata and controls

27 lines (18 loc) · 2.09 KB

JavaScript Control Flow

Learning Objectives

By the end of this lesson, you'll be able to:

  • Understand the three types of control flow and their importance in programming.
  • Use comparison operators to compare data.
  • Create conditional statements to control the flow of your program.
  • Write for loops and while loops.

Introduction

It would be nice if we could tell computers to make us the perfect sandwich, but that’s beyond what we can ask from our electronic friends right now. What we can do, however, is tell them to make decisions based on certain conditions using logic. You’d be surprised how much computers can get done just by comparing things to each other. Let’s see how that works.

Topics

Lesson Skills & Learning Objectives
Concepts Understand the three types of control flow and their importance in programming.
Comparison in JavaScript Use comparison operators to compare data.
Conditionals Create conditional statements to control the flow of your program.
Loops Write for loops and while loops.

Study Guide

Download Study Guide