1
I need to change the background color of the page when I check box and return the original color when I uncheck, I only got the first step and I can’t get back the original color, someone help.
<body ng-app='turma' ng-style='fundo'>
<label><input type="checkbox" ng-checked='fundo={"background-color":"#333", color:"white"}'>Fundo escuro</label>
the code didn’t work
– nelson450
in the stack compiler is working, click on the "Run"
– Anderson Souza