gisterLink = document.getElementById('registerLink');
        var loginLink = document.getElementById('loginLink');

        // Get the <span> elements that close the modals
        var closeBtns = document.getElementsByClassName('close');

        //show and hide icon button
        document.addEventListener('DOMContentLoaded', () => {
          const togglePasswordButtons = document.querySelectorAll('.toggle-password-btn');

          togglePasswordButtons.forEach(button => {
            button.addEventLi