I am new here. Please excuse me if I don't make this clear, I am not good at coding.
Let's say I create a div block, I give it a name like "div class" and I set a new background colour for it like blue. Then I create a button somewhere on the page and I want that button, once pressed, to change the settings from the "div class" in this case to change the background colour from blue to green. Is that possible? I hope you will understand what I want to do. Feel free to ask me if you have any questions. Any help would be appreciated. Thank you!