Part 1: Logical Operators |
Part 2: Relational Operators !, < ,>, <= ,>= , === , !== |
|
let m = -5; let n = 8 ; let x = -3; let y = 0.0; let z = 4; |
Part 3: Practice Writing Boolean Expressions |
if (x < y && x === 0)
console.log("Red");
if (x < y && x !== 0)
console.log("White");
if (x >= y)
console.log("Blue");
Part 4: Program Animation |
Part 5: Create the game of Pong |