I have a chatroom and I want to be able to save checkmark data after refresh

  html, javascript, node.js

In my chatroom, there is a settings menu, you can check on and off, 2 settings. I want a user to check or uncheck it and save the state that the checkmark is in after refresh. I have been researching for a while and nothing is working. I’m not really sure where to start so I have the chatroom and the source code below:

Chatroom Link

Source Code

Just fork the project, add the code that is necessary and share the final codes link with me. Thanks!

Source: Ask Javascript Questions