How to make Decisions in JS.

The first way is by creating if statements. By if statements you can check if a specific condition is true or false. Then you can specify and define a block of code that will be executed only when the condition is true, and another block of code for when the condition is false. Once you understand this you can create your own decisions based on the outcome of a condition you are checking.

But how do i create expressions that evaluate either to true or to false? See next chapter.