function showWarningSnackBar(warningText){
        var x = document.getElementById("snackbar");
            x.innerHTML = warningText;
            x.style.background = "#fd7762";
            x.className = "show";
            setTimeout(function(){ x.className = x.className.replace("show", ""); }, 5000);
    }
// this is a customizable warning message pop up for different warning messages
this is a customizable warning message pop up for different warning messages
this is a customizable warning message pop up for different warning messages
function showWarningSnackBar(warningText){
        var x = document.getElementById("snackbar");
            x.innerHTML = warningText;
            x.style.background = "#fd7762";
            x.className = "show";
            setTimeout(function(){ x.className = x.className.replace("show", ""); }, 5000);
    }
function showWarningSnackBar ( warningText ) { var x = document . getElementById ( "snackbar" ) ; x . innerHTML = warningText ; x . style . background = "#fd7762" ; x . className = "show" ; setTimeout ( function ( ) { x . className = x . className . replace ( "show" , "" ) ; } , 5000 ) ; }
this is a customizable warning message pop up for different warning messages
this is a customizable warning message pop up for different warning messages