DEV Community

Cover image for Star Rating part 2
sonu sharma
sonu sharma

Posted on

Star Rating part 2

I have added event listener for events when the stars are clicked. It will color the stars when they are clicked.

All the stars on the left of the clicked star will be colored.

So what do you think about my approach ?

Top comments (0)