What ever i do, i cannot get passs this !?

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

  **Your code so far**

function trueOrFalse(true) {
// 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Use Conditional Logic with If Statements

Link to the challenge:

Hi @vader45 !
You just only have to change code between the two comment lines.
And wasThattrue should be wasThatTrue(capitalization).
I hope it helps.

In your first line, undo

function trueOrFalse(true) {

and put back the original

function trueOrFalse(wasThatTrue) {

It should be fine, although as @mrohanrajput mentioned, your spelling (capitalisation) is incorrect.

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