Throughout this week, the “Star (rating) Wars” have run here on dev.to.
With proposals by @inhuofficial, @lapstjup, @link2twenty , @afif, @siddharthshyniben and possisble others – dev.to has been plastered in “Star Rating” components!
My proposal was a single input solution, allowing for any number of stars, also half- and quarter-stars – without adding extra markup.
All the other solutions use groups of <input type="radio">
-tags, so I decided to do a component with just that, but not with stars.
Instead, pick your mood after these dramatic days – no JavaScript required:
Thanks for reading 😁