useover', handleMouseOver);
                star.addEventListener('mouseout', handleMouseOut);
                star.addEventListener('click', handleClick);
            });

            function handleMouseOver(event) {
                console.log('Mouse Over:', event.target); // Debugging
                const value = event.target.dataset.value;
                highlightStars(value);
            }

            function handleMouseOut() {
                console.log('Mouse Out'); // Debugging
               