function Outsideclick(e){
    if(e.target == modal){
    modal.style.display='none';
}
}
//function to close modal if outside click

function to close modal if outside click
function to close modal if outside click
function Outsideclick(e){
    if(e.target == modal){
    modal.style.display='none';
}
}
function Outsideclick ( e ) { if ( e . target == modal ) { modal . style . display = 'none' ; } }
function to close modal if outside click
function to close modal if outside click