0
The user will access a screen in HTML, where will have some questions and each question will have 3 or 4 options of answers in button format.
When he clicks on the button, the button changes color. In blue, it turns red. And so on, at the end the screen will be all marked with the client’s options.
EXAMPLE OF THE FIRST SCREEN
EXAMPLE WITH MOUSE OVER BUTTON
EXAMPLE AFTER CLICKED, IT SHOULD BE IN RED COLOR, I.E., VISUALLY SHOWING WHICH CUSTOMER’S SELECTED OPTION.
What is your doubt ?
– Mateus Veloso
Is there any code being worked to share?
– Leon Freire
No, my question is, how do I leave the button marked with the red color after that was clicked? I know that in the normal button, where you link I could do so 'a:link........ COLOR BLUE, a:visited... COLOR RED, a:Hover.... COLOR RED, a:active.... COLOR RED' but this button is not to lead anywhere, it is just to stay selected in that color.
– Alessandro Ramos
Share your HTML. Ideal is to see how you created the buttons to tell how to change.
– Leon Freire