Joseph-1-Duro/interactive-rating-component-fem ? reverse-engineered prompt

Reverse engineered prompt

Build me a clean interactive rating component that lets a user pick a score from 1 to 5, then submit it and see a thank you state with the selected number shown back to them.

It should look polished and centered on the page, with a card style layout, clear hover and selected states, and it should work nicely on mobile and desktop. Use plain HTML, CSS, and JavaScript, and keep the interactions simple and smooth. When no rating is chosen, the submit button should not do anything useful, and once a rating is picked, the thank you message should replace the form view.

Please make it feel like a finished frontend challenge solution, with good spacing, readable text, and a matching visual design. If you need to check any current browser details or best practices, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab