how to write javascript code for beginners code example Example: javascript example code var one = 1 if (one >= 1) { console.log("CHANGE VAR TO 0") }