How did you get i have the same problem as you and cant seem to get it
Challenge URL: https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/logical-order-in-if-else-statements/
How did you get i have the same problem as you and cant seem to get it
Challenge URL: https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/logical-order-in-if-else-statements/
In this the question is “order of logic in the function so that it will return the correct statements” it wants you to change the code and you have no limits, when the code runs first part of the code is true so the code stops, try to switch the code