# Star Rating : Frontend Coding Exercise

**URL:** <https://forum.kirupa.com/t/star-rating-frontend-coding-exercise/683600>\
**Category:** programming\
**Created:** [October 6, 2026, 8:32pm UTC](https://forum.kirupa.com/t/star-rating-frontend-coding-exercise/683600 "2026-10-06T20:32:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [October 6, 2026, 8:32pm UTC](https://forum.kirupa.com/t/star-rating-frontend-coding-exercise/683600/1 "2026-10-06T20:32:22Z")

</div>

This is where you can share your code for solving the [Star Rating](https://www.kirupa.com/codingexercises/star_rating.htm) exercise 🙂

---

<div class="post-metadata">

**Author:** ![Ellen1979](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ellen1979/32/31260_2.png) [@Ellen1979](https://forum.kirupa.com/u/Ellen1979)\
**Post date:** [October 6, 2026, 10:00pm UTC](https://forum.kirupa.com/t/star-rating-frontend-coding-exercise/683600/2 "2026-10-06T22:00:29Z")

</div>

That `radiogroup` is a good call. I’ve seen some accessibility audits fail when people try to do it with just `aria-describedby` on a hidden span.

My main concern is always what happens when the JavaScript craps out.

Does it just become a bunch of unclickable icons then?
