-1
I have an apparently simple doubt, but since I am a designer (and not DEV) I am breaking my head to solve and I can’t find the solution... I tried to find something similar here, but I couldn’t find it...
I made a simulation of what I have here: https://codepen.io/msales78/pen/bGbPrJo
What’s the big deal? After clicking on the LABEL, the element is scratched, because the class "on" is added, but I need it to work ALSO when clicking on the checkbox, but this does not occur... how could you get this effect?
Thank you!
Thank you @Ricardo. I now understand where I was going wrong... :)
– Marcelo Sales