Ok, so I am on this website code acadamy and this is what it is saying to do
Write code that contains an if/else statement, just like we did in the last exercise. When your condition is true, print to the console "I am right". When it is false, print to the console "I am wrong". Make sure your statement evaluates to false so it prints out "I am wrong"
and I typed this
if ("to".length === 4)
{"I am right"}
else {console.log;"I am wrong"}
and it says "Oops, try again! It looks like your conditional didn't log 'I am wrong' to the console"
when it DOES print I am wrong in the console... what did I do wrong!!
Write code that contains an if/else statement, just like we did in the last exercise. When your condition is true, print to the console "I am right". When it is false, print to the console "I am wrong". Make sure your statement evaluates to false so it prints out "I am wrong"
and I typed this
if ("to".length === 4)
{"I am right"}
else {console.log;"I am wrong"}
and it says "Oops, try again! It looks like your conditional didn't log 'I am wrong' to the console"
when it DOES print I am wrong in the console... what did I do wrong!!