darkmode changes

This commit is contained in:
Sevi 2024-10-27 21:31:12 -07:00 committed by GitHub
parent a08fb11d1a
commit 105a1e22b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,8 +29,14 @@
</head>
<body style="background-color: rgb(241, 241, 241); color: black;">
<h1 style="color: black;">Welcome to EaglerCraftX</h1>
<label for="darkModeCheckbox">Dark Mode Checkbox</label>
<input type="checkbox" id="darkModeCheckbox">
<button type="button" onclick="darkmode()">Change Color</button>
<script>
function darkmode()
{
document.body.style.backgroundColor= "grey";
}
</script>
<p style="color: black;">Site views counter:</p>
<div align="center">
<a>