Whats wrong with this codes


#1



if(10<3)
{
console.log("the condition is true");
}
else
{
console.log("the condition is false");
}


#2

The code shown is syntactically correct.

That code will display "the condition is false" -- is that what you want it to do?

What error message are you seeing?


#3

Uppercase and lowercase are important

if(10<3)
{
console.log("the condition is true");
}
else
{
console.log("the condition is false");
}

Read the instructions ans you will get this solution

if(100 <10){
    console.log("The condition is true");
}else{
    console.log("The condition is false");
}

#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.