When I am clicking to change the background color I am getting a ReferenceError: Cannot access 'background' before initialization when clicking on the Button {toggleButton}
Any idea?
Thanks
You are confusing the functions. 1. User or use. 2. Separate 'set' and 'background'. 3. Separate 'background' from 'color'.4. You are confusing the functions.