diff --git a/02-enter-a-number/script.js b/02-enter-a-number/script.js index 4afaa72..f1e6a4e 100644 --- a/02-enter-a-number/script.js +++ b/02-enter-a-number/script.js @@ -8,9 +8,9 @@ number = Number(prompt("enter a number")); function numberChecker() { - if(number === 6) { + if(number >= 10) { return true; - } else { + } else if (number < 10) { return false; } }