@nikavolk
Posted
Hello Justin!
I had a look through your code and there doesn't seem to be anything wrong on the JS side.
However, in your HTML file, I think you would need to use <input type="radio"> for each choice and group them up, instead of using buttons for each rating. I believe doing it that way the chosen rating will stay selected upon clicking the Submit button.
Marked as helpful
@jgorelik23
Posted
@nikavolk Thanks! I fixed it but I used a different approach (in the JS).