how to have a drop down in html and also change the background to light ordark code example
Example: css dark mode
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}