Logical Order If Else Statements

ok…
but now im back to where i started in not knowing what to do next to make all three check marks…
its not making any sense at all, even when i change the orderMyLogic # at the bottom

even when i change the greater than less than signs

never mind i got it you switch the 5 and 10 why couldn’t they just say that

In fact they just say that. Its very very important to read the challenge examples and requirements very well with no hurry. You almost have the answer there. With time you will see it at first glance.

Switching the 5 and 10 shouldn’t be all you need to do. Remember ‘<’ = less than and ‘>’ = greater than

solution:

function orderMyLogic(val) {
if (val < 5) {
return “Less than 5”;
} else if (val < 10) {
return “Less than 10”;
} else {
return “Greater than or equal to 10”;
}
}

// Change this value to test
orderMyLogic(7);