darkmode changes
This commit is contained in:
parent
a08fb11d1a
commit
105a1e22b0
10
index.html
10
index.html
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user