The login script is designed to handle both successful and failed login attempts. An error modal appears when login details are incorrect, but upon closing the error modal, attempting to retry does not allow for further interaction. This suggests a malfunction in the event listeners or handling related to the error modal, as the user is unable to reattempt the login after the modal has been closed.
errorModal.showModal(); const closeErrorModal = document.querySelector("[closeerrormodal]"); closeErrorModal.addEventListener('click', () => { errorModal.close(); });
Collection
[
|
...
]