What's a mistake in this program

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

function trueOrFalse(wasThatTrue) {
// Only change code below this line
if (wasThatTrue) { 
return "Yes, that was true ";
}
return " No, that was false";
// Only change code above this line

}

  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; RMX2001) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36

Challenge: Use Conditional Logic with If Statements

Link to the challenge:

Hi @sarthk !

You have spacing issues here

and here

1 Like

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