Skip to content

Commit

Permalink
AUTO: Fix formatting and footers for Canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellbenton committed Oct 23, 2020
1 parent 3b6a16e commit 537d722
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# Control Flow Lab

## Problem Statement

In this code-along, we will practice working with control flow in JavaScript.

## Objectives

1. Practice writing `if...else if...else` statements.
2. Practice working with the ternary operator.
3. Practice writing `switch` statements.

## Introduction

You have been hired as a contractor for Scuber, a burgeoning startup that helps
busy parents transport their children to and from all of their activities on
scooters.
Expand All @@ -18,6 +21,7 @@ they need to travel. Modify the `index.js` file to make sure that Scuber's drive
are properly telling their passengers how much the ride will cost.

## Read the Tests

We know that you do not have much experience with testing, so that is why it is
very important for you to read the instructions in this and every lab. That
being said, reading the tests can often provide important clues on how to
Expand Down Expand Up @@ -99,6 +103,7 @@ mini-experiments on our code and help us better understand our code and the
problem we are solving.

## Instructions

There are three functions that have been declared for you. You will need to fill in the following code:
* `scuberGreetingForFeet()` — Use `if` and `else if` statements to return the
correct greeting based on the distance the passenger desires to travel.
Expand Down Expand Up @@ -134,6 +139,3 @@ That leaves us with `1 < 4`, which the JavaScript engine correctly evaluates to
through the assignment.

Good luck!

<p class='util--hide'>View <a href='https://learn.co/lessons/js-basics-flow-control'>Control Flow Lab</a> on Learn.co and start learning to code for free.</p>

0 comments on commit 537d722

Please sign in to comment.