Stuck whats wrong with it


#1


https://www.codecademy.com/courses/getting-started-v2/2/5?curriculum_id=506324b3a7dffd00020bf661


Oops, try again. It looks like your if/else statement didn't log "The condition is false" to the console.


Replace this line with your code. 

if(2<4)
{
console.log("this conditon is true.");
}
else
{
console.log("this conditon is false");
}


#2

They want you to log "The condition is false" to the console. Your if statement is 2<4 which is True hence your console.log("this conditon is true."); is used rather than your console.log("this conditon is false");.

I suggest making that if statement a false one..


#3

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