Why does if-elseif-else loop execute content written in else and none other loop executes for any input given

I am trying to implement if-elseif-else for a simple condition of food price for different items selected by user. It does not execute the if and else if part of the code. Everytime it just executes the else part of code. I have written the code in main.js file within sublime text editor. enter image description here