js if number is divisbile by 3 code example
Example: js check if number is divisible by 2
if (variable % 2 === 0) {
console.log("Even")
} else {
console.log("Odd")
}
if (variable % 2 === 0) {
console.log("Even")
} else {
console.log("Odd")
}