Tell us what’s happening:
I’ve got stuck on this challenge, after a while I gave up and decided to look up the solution.
It was exactly the same code written there.
Does anyone might see something I am missing, would really appreciate
thanks
Your code so far
function trueOrFalse(wasThatTrue) {
// Only change code below this line
if (trueOrFalse) {
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 OPR/67.0.3575.137
.
Challenge: Use Conditional Logic with If Statements
Link to the challenge: