BeMax / settings.html
Abso7729's picture
Upload 5 files
3c50af6 verified
Raw History Blame Contribute Delete
1.01 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Settings</title>
<style>
body { font-family: Arial; text-align: center; padding: 40px; }
.option { margin: 20px; font-size: 20px; }
</style>
</head>
<body>
<h2>⚙️ Settings</h2>
<div class="option">
<label for="lang">🌐 Language:</label>
<select id="lang">
<option>English</option>
<option>العربية</option>
</select>
</div>
<div class="option">
<label for="theme">🌓 Theme:</label>
<select id="theme" onchange="changeTheme(this.value)">
<option value="light">Light Mode</option>
<option value="dark">Dark Mode</option>
</select>
</div>
<script>
function changeTheme(mode) {
if(mode === "dark") {
document.body.style.background = "#222";
document.body.style.color = "#fff";
} else {
document.body.style.background = "#fff";
document.body.style.color = "#000";
}
}
</script>
</body>
</html>