6bit.ch/html/slamp.html
2025-03-13 19:21:37 +01:00

69 lines
2.0 KiB
HTML

<!DOCTYPE html>
<head>
<title>6bit.ch | slamp</title>
<link rel="shortcut icon" type="image/png" href="img/favicon.png"/>
<script>
function changeColorBlack() {
var color = document.getElementById("body");
color.style.backgroundColor = "#000000";
}
function changeColorWhite() {
var color = document.getElementById("body");
color.style.backgroundColor = "#FFFFFF";
}
function changeColorBlue() {
var color = document.getElementById("body");
color.style.backgroundColor = "blue";
}
function changeColorGreen() {
var color = document.getElementById("body");
color.style.backgroundColor = "green";
}
function changeColorMagenta() {
var color = document.getElementById("body");
color.style.backgroundColor = "magenta";
}
function changeColorPink() {
var color = document.getElementById("body");
color.style.backgroundColor = "pink";
}
function changeColorRed() {
var color = document.getElementById("body");
color.style.backgroundColor = "red";
}
function changeColor420() {
var color = document.getElementById("body");
color.style.backgroundColor = "#000420";
}
function changeColor69() {
var color = document.getElementById("body");
color.style.backgroundColor = "#000069";
}
function changeColor42069() {
var color = document.getElementById("body");
color.style.backgroundColor = "#042069";
}
</script>
</head>
<body id='body'>
<center>
<h1>slamp</h1>
<h4>a most inefficient screenlamp</h4>
</br>
<button onclick="changeColorBlack();">Black</button>
<button onclick="changeColorWhite();">White</button>
<button onclick="changeColorBlue();">Blue</button>
<button onclick="changeColorGreen();">Green</button>
<button onclick="changeColorMagenta();">Magenta</button>
<button onclick="changeColorPink();">Pink</button>
<button onclick="changeColorRed();">Red</button>
<button onclick="changeColor420();">420</button>
<button onclick="changeColor69();">69</button>
<button onclick="changeColor42069();">42069</button>
</br>
</br>
</br>
<a HREF=https://6bit.ch>Back</a>
</body>
</html>