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