Practice with more conditionals...help


#1


if(10 < 4)
{
    console.log("It's true");
}
else
{
    console.log("Its false");    
}
    .


#2

Hi are doing Javascript or PHP?


#3

Hi I'm doing JavaScript and stuck.


#4

CAn you post a link to the lesson and the error you get..


#5

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

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


#6

the error says..
.. It looks like your if/else statement didn't log "The condition is false" to the console.
the instruction says..
If your condition is true, use console.log to print "The condition is true".
Otherwise (else) when it is false, use console.log to print "The condition is false".


#7

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