Practice with conditionals: What's wrong with code


Getting error that I did not log "The condition is false" to the console. This looks right and the phrase is printed to the console.

if( 10 < 4 )
console.log("The condition is true.");
console.log("The condition is false.");


hi, why do you put a "period" after you en your console.log
Ex: console.log (My name is ");
syntax is really important!


I agree probably the "period" is the problem, but this is not a syntax issue but has to do with the expectation of the test function.