Let the user choose between dark and light mode (save settings for every page, cookies?)
问题 I have just recently started using javascript and jQuery so I'm not an expert and at the moment I am struggling with what I guess could be called a "basic task"? I want to include two buttons on the homepage with which the user can the website mode to either dark or light. These settings should then be remembered as the user enters the website and clicks on the different links. So far I have added the function that changes the background color and color of the font onClick but I can only do