```
function darkMode() {
  var element = document.body;
  var content = document.getElementById("DarkModetext");
  element.className = "darkmode11"
  content.innerText = "Dark Mode is ON"
  content.style.color = "white"
}
function lightMode() {
  var element = document.body
  var content = document.getElementById("DarkModetext")
  content.innerText = "Dark Mode is OFF"
  element.className = "lightmode11"
  content.style.color = "black"
}

```

//I have made two function one is for darkmode and another is for light mode the problem is when i turn on the dark mode and refresh the page the dark mode get turned off