@fazzaamiarso
Posted
Hello Kayden! Nice work!
Your SVG works fine on my browser.
I have a quick tip for you to quickly iterate an array instead of using for loop.
$RATINGS.forEach(rating => {
rating.addEventListener("click", ratingOption);
}).
Please refer to this https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
I hope it helps! Cheers!
Marked as helpful