Java Explanation and Demonstration of the Following

Variables

Used in project

Operators and Arithmetic

Used in project

Branching / Conditions

There are various different conditional statements used in Javascript. Those statements are: if, else, else if, and switch statements. An example of an "if" statement If

Repetition (for loop and while loops)

Loops can execute a block of code a number of times. A while loop executes a block of code while a specific condition is true.
An example of a for loop If
Comparisons / Logical Operators
Comparison operators are used to determine the equality or difference between variables or values. For example, whether a variable is equal to, not equal to, less than, or greater than another variable.
Logical operators are used to determine the logic between variables or values. For example, having one variable and another variable, or having one variable or another variable.
An example of a logical operator If