When interacting, change the style of a web and store it [duplicated]

1

I am developing a website with php, javascript, html5 and css3. I want to change the color according to what the user chooses in a developed configuration section and that those changes are stored How could I do it?

    
asked by Francisco Javier Moivas Rodrig 29.12.2016 в 09:35
source

1 answer

1

Well the first thing you can do is that in the db where you find the credentials of your user add a more column that is preference, where you either save the color or a code. Then when the person loguea brings you that data and you can put the color of your preference. If not, you can also save this preference in the localstorage, which is a local storage and that helps for these cases where they are not critical data.

Greetings

    
answered by 29.12.2016 в 10:02