ipt.js"></script>

    <script>
        let selectedAvatar = "";

        function selectAvatar(avatar) {
            const avatars = document.querySelectorAll('.avatars img');
            avatars.forEach(img => {
                img.classList.remove('selected');
            });
            const selectedImg = document.querySelector(`.avatars img[src*='${avatar}']`);
            selectedImg.classList.add('selected');
            selectedAvatar = avatar;
        }

        function saveProfile() {
          