It happens that I have a button that when I click on it, it changes the background to another color and I would like it to be saved in localStorage
. So, every time you enter the web, be the color you chose. Let me explain:
function temas(){
$('#tema1').click(function(){
$('body').css('background','#212121');
});
}