Practice with conditionals: What's wrong with code


#1

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.");
}
else
{
console.log("The condition is false.");
}


#2

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


#3

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.