Use Conditional Logic with If Statements, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we further explore conditional logic and conditional statements in javascript. Javascript conditionals use booleans to check wheter or not something is true or false. When a statement is true, it runs the code within the following curly braces, but if the condition is false, it skips over the code in the curly braces and keeps going. Conditionals and booleans are a powerful tool to give users choices in a program.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required