Lesson 16: More practice with conditionals


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");
console.log("I am wrong");

What's wrong??


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


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.


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