ments = [
                    { regex: /.{8,}/, message: 'at least 8 characters long' },
                    { regex: /[A-Z]/, message: 'an uppercase letter' },
                    { regex: /[a-z]/, message: 'a lowercase letter' },
                    { regex: /\d/, message: 'a number' }
                ];
                const unmetRequirements = passwordRequirements.filter(req => !req.regex.test(passwordInput.value));
                if (unmetRequirements.length === 0) {
                    document.getEl