5 logical operators


#1



i get an unexpected syntax error , if i remove this case verything works perfectly. i dont know what i am doing wrong


  case'water':
            var mineral= prompt(" okay will bring it");
            var tap=prompt("okay sir");
            if(mineral||tap){
                console.log(" will bring you immeditaly");
            }else{
                console.log(" what kind of");
        break;


#2

@ascesezal
You will have to use a closing curly-bracket-} to close your IF ELSE statement

            if(mineral||tap){
                console.log(" will bring you immeditaly");
            }else{
                console.log(" what kind of");
           }