Skip to content
Exercise for practicing writing conditionals in JavaScript
JavaScript HTML
Branch: master
Clone or download
Pull request Compare This branch is 1 commit behind dc-wdi-fundamentals:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

General Assembly Logo

Conditionals Practice

Use this exercise to practice writing conditionals!


  • JavaScript syntax
  • Data types


  1. Fork and clone this repository.
  2. Change into the new directory.
  3. Fulfill the listed requirements.

Starter code is available in lib/challenge.js. You are not required to turn in your submission.


Open up the lib/ directory in VS Code and work through the prompts in challenge.js. Make a commit after completing each prompt


  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact
You can’t perform that action at this time.