;
            }
            if (savedPhone) {
                document.getElementById("phoneInput").value = savedPhone;
            }
            if (savedBio) {
                document.getElementById("bioInput").value = savedBio;
            }

            // a JavaScript function to handle input validation

            const phoneInput = document.getElementById("phoneInput");
            phoneInput.addEventListener('input', function () {
                validatePhoneInput(this);
            });
        }