Files

6 lines
942 B
JavaScript

let messages = ["Because chad.net was taken.", "A GigaChad owns his printer.", "More power to the people.", "Print it. Assemble it. Carry it.", "Respect the machine, or the machine respects you.", "Veni, vidi, vici.", "Stronger every year.", "Under the ice.", "Become ungovernable.", "Real men make things.", "VICTORY TO THE GODS!", "Many articools!", "Fueled by curiosity.", "TALLY-HO!", "Wake up.", "Remember who you are.", "Grug loves filament.", "A site for sore eyes!", "Shop class will save America.", "Self-reliance is the point.", "Sun and steel.", "A man prepares.", "Build your own.", "The library never closes.", "Handmade.", "Operated from the garage.", "Yes hello.", "Yarr!", "Standing by.", "Bring back the shop class.", "Do it yourself, or find who does."];
function setMsg() {
const el = document.getElementById('message');
if (el) el.textContent = '« ' + messages[Math.floor(Math.random() * messages.length)] + ' »';
}