1
I need to put in my site as is in this image. I’ve done in HTML and CSS the square with the price.
I don’t know much about JS and I’m not getting to make the left squares.
By clicking on "No Visit/No Visit" it must change the value of the price.
The buttons must behave like Radio (I can only choose one of them)
You want it in pure javascript or jquery?
– Ivan Ferrer
You don’t need a script for this, you can only do it with CSS if you want... But first of all Put what you already have of code Rodrigo, edit your question and put the HTML and CSS etc...
– hugocsl
true, you can do it with pure css, it’s another alternative. using effect Hover, active, Focus...
– Ivan Ferrer
It all depends on what you want to do @Rodrigobarreto
– Ivan Ferrer
Read as well What is the impact of changing the default behavior of an HTML element?
– Woss