script_index.js 355 B

1234567891011121314
  1. const btnLoginPage = document.querySelector('.btn-login');
  2. const btnUserProfile = document.querySelector('.btn-userProfile');
  3. const btnLogout = document.querySelector('.btn-logout');
  4. function loginControl() {
  5. btnLoginPage.style.display = 'block';
  6. btnLogout.style.display = 'none';
  7. btnUserProfile.style.display = 'none';
  8. }
  9. loginControl();