function activateLoader() {
  const loaderArea = document.querySelector('#loader-area');
  loaderArea.classList.value = 'loader';
}
Display a preloader near the titlebar to notify
user that a task is being performed.