@NicolasBQ
Posted
Hey @wglebster, nice solution!! It looks great.
If u want to refactor your JS I recommend u to use the same class name for all the rate buttons, then u can select them all with querySelectorAll and manipulate them as an array. I did it in that way (except I used data attributes), so feel free to check my code.
Good Job!
Marked as helpful