Tell us what’s happening:
Describe your issue in detail here.
// I tried to run this code, it brought out syntax error and I don’t know what is wrong with the code. Please, I need help so that I can proceed to the next one.
**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; TECNO KB8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
Challenge: Use Conditional Logic with If Statements
Link to the challenge: