Help needed with Logical Order in if else statement

Help needed with Logical Order in if else statement
0

#1

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/


Logical Order in If Else Statements Logic
#2

I created a new topic so you can post your code for us to review.

To post a block of code into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


#3

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