sonu sharma Posted on Jan 8, 2022 • Edited on Jan 8, 2022 Star Rating part 2 #html #css #javascript Start Rating (2 Part Series) 1 Star Rating Part 1 2 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 ? Referece 1: https://developers.google.com/web/fundamentals/web-components/customelements References 2: https://developers.google.com/web/fundamentals/web-components/customelements#attrchanges Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)