I need to insert code to an Elementor Pro button that changes its background color on click

I have 13 buttons aligned, whe the user selects one, It must change its background color and remains the same when the user returns from the form that the click event displayed, so the same must be for the same ones…

I tested in many ways with no success, I need help, please