funny zip bomb
A downloadable nn
let textElement = document.createElement('div');
textElement.innerText = "funny";
textElement.style.fontSize = "30px";
textElement.style.fontWeight = "bold";
document.body.appendChild(textElement);
const colors = ['red', 'green', 'blue', 'yellow', 'purple', 'orange'];
let colorIndex = 0;
function changeColor() {
textElement.style.color = colors[colorIndex];
colorIndex = (colorIndex + 1) % colors.length;
}
// Flash colors every 500 milliseconds
setInterval(changeColor, 500);
Download
Install instructions
let textElement = document.createElement('div');
textElement.innerText = "Flashing Text!";
textElement.style.fontSize = "30px";
textElement.style.fontWeight = "bold";
document.body.appendChild(textElement);
const colors = ['red', 'green', 'blue', 'yellow', 'purple', 'orange'];
let colorIndex = 0;
function changeColor() {
textElement.style.color = colors[colorIndex];
colorIndex = (colorIndex + 1) % colors.length;
}
// Flash colors every 500 milliseconds
setInterval(changeColor, 500);
Comments
Log in with itch.io to leave a comment.
Game