6bit.ch/html/slamp.html
root 39752c845a modified: index.html
new file:   js/art.js
	new file:   js/hdr.js
	new file:   js/hearts.js
	new file:   js/helpers.js
	new file:   js/particles.js
	new file:   js/qlpycon.js
	new file:   js/qlpyconbanner.js
	new file:   js/snek.js
	new file:   js/sparks.js
	new file:   js/stars.js
	modified:   slamp.html
	modified:   style.css
2026-06-14 14:08:52 +02:00

79 lines
2.4 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";
}
function changeColor1312() {
var color = document.getElementById("body");
color.style.backgroundColor = "#F1312F";
}
function changeColor161() {
var color = document.getElementById("body");
color.style.backgroundColor = "#FFF161";
}
</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>
<button onclick="changeColor1312();">1312</button>
<button onclick="changeColor161();">161</button>
</br>
</br>
</br>
<a HREF=https://6bit.ch>Back</a>
</body>
</html>