Quan Nguyen3,191 Points
I got this Bummer in the Code Challange: "Did you include the boolean expression to evaluate?"
Im not sure what is wrong with my Code.
int value = -1; string textColor = null; (value < 0) ? textColor = "red" : textColor = "green";
That's not how the ternary operator works, it returns a value and you need to assign that returned value to your variable.
Try this `
textColor = value < 0 ? "red" : "green";, that should work.