16. Pratice with conditionals


I was wondering if you could help solve this problem.
My apologies if it bothers you.


No conditions after else as it is the default case.


@haxor789 Thank you for the help but my function is not still working.
Thank you in advance for your reply.


You don't have a function there :slightly_smiling:
Could you post your updated code?

I can not see what is wrong

you've probably got it right by now.

But you were missing a curly brace.

if (20 === 10)
console.log("The condition is false")


I don't know if you've gotten it yet, but there should be no condition after else since it's the last statement.
Also, remember to end the block of code that needs to be executed with a semicolon. :slightly_smiling:

if (20 > 10) {
    console.log("This condition is true");
} else {
    console.log("This condition is false");