Star-rating Demo

Cliking any star would console.log() its value. After submit stars are set to read only mode.
Hint: Do not use class name "star" for radio buttons.