function checkUser() { 
  if (!localStorage.username) { 
    $('#user-login').show();
    $('user-signup').hide();
  } else { 
    $('#user-login').hide();
    $('#user-signup').hide();
  }
}
//User login and interaction with local storage
User login and interaction with local storage
User login and interaction with local storage
function checkUser() { 
  if (!localStorage.username) { 
    $('#user-login').show();
    $('user-signup').hide();
  } else { 
    $('#user-login').hide();
    $('#user-signup').hide();
  }
}
function checkUser ( ) { if ( ! localStorage . username ) { $ ( '#user-login' ) . show ( ) ; $ ( 'user-signup' ) . hide ( ) ; } else { $ ( '#user-login' ) . hide ( ) ; $ ( '#user-signup' ) . hide ( ) ; } }
User login and interaction with local storage
User login and interaction with local storage