Lesson 16: More practice with conditionals


#1

I'm having a problem getting past Lesson 16. It tells me my code is wrong but I wrote it exactly like the example:
if( 10 < 3 )
{
console.log("I am right");
}
else
{
console.log("I am wrong");
}

What's wrong??


#2

Please post a link to the exercise so we can read the instructions. Thanks.


#3

The lesson wants you to use the exact phrase "The condition is true" and "The condition is false". If you don't use those phrases, it won't work. I tried using my own words too and it it didn't work. You can mess with the IF statement however you want though. See if that helps.


#4

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