The Swear Machine
How do I make an the swear machine?
Combines random strings to produce junvenile yet amusing swear-words.. What is a the swear machine? How do you make a the swear machine? This script and codes were developed by David Storey on 12 July 2022, Tuesday.
The Swear Machine - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>The Swear Machine</title> <link rel='stylesheet prefetch' href='http://fonts.googleapis.com/css?family=Seymour+One'>
<link rel='stylesheet prefetch' href='http://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.0/animate.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>The Swear Machine</h1>
<h2>For when normal swears just won't do</h2>
<div class="tada animated"> <h3 id="swear" ></h3>
</div>
<p><span id="combinations"></span> combinations and counting</p> <script src="js/index.js"></script>
</body>
</html>
The Swear Machine - Script Codes CSS Codes
body { font-family: "Seymour One", sans-serif; text-align: center; background-color: #FFCC14; background: -webkit-gradient(radial, center center, 0, center center, 460, from(#FFFEE8), to(#FFCC14)); background: -webkit-radial-gradient(circle, #FFFEE8, #FFCC14); background: -moz-radial-gradient(circle, #FFFEE8, #FFCC14); background: -ms-radial-gradient(circle, #FFFEE8, #FFCC14); font-size: 140%;
}
h1, h2, h3, h4 { text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}
h1 { margin-top: 5%; text-decoration: underline;
}
h2 { font-size: 90%;
}
h3 { font-size: 220%;
}
h4 { font-size: 90%;
}
The Swear Machine - Script Codes JS Codes
function randomArray(array) { return array[Math.floor(Math.random() * array.length)];
}
var adjectives = ["fucking ","pissing ","ruddy ","cunting ","buggering ","holy ","sweet ","sweet baby ","royal ","mother of ","sweet mother of ","holy mother of ","for the love of ","you filthy ","you ","what an absolute ","what a total ","grunting ","filthy ","well that's just ", "you ", "", "", "", "", "", "", "", "", "", "", "", ""], prefixes = ["cock","piss","cunt","fiddle","fanny","arse","bum","fudge","bugger","shit","shite","fuck","tit","granny","wank","jobbie","crack","snatch","grunt","cheese","butt","crotch","gutter","anal","poo","poop","smeg","filth"], suffixes = ["sticks","drops","flaps","hole","stain","whore","jockey","growler","fudge","badger","buggery","slut","dirt","sniffer","dodger","tits","rash","bandit","fiddler","job","puppet","stick","snatcher","sucker","goblin","cheese","grunter","wank","biscuits","fuck","worm","fluff","beast","monkey","discharge","shaft","poo","poop","gobbler"], swear = (randomArray(adjectives) + randomArray(prefixes) + randomArray(suffixes) + "!").toUpperCase(), combinations = adjectives.length * prefixes.length * suffixes.length;
document.getElementById("swear").innerHTML = swear;
document.getElementById("combinations").innerHTML = combinations;
Developer | David Storey |
Username | davidpanik |
Uploaded | July 12, 2022 |
Rating | 3 |
Size | 2,532 Kb |
Views | 54,648 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Christmas CSS Challenge | 69,872 Kb |
Fibonacci sequence | 1,507 Kb |
A Pen by David Storey | 1,682 Kb |
Speed Reader | 3,166 Kb |
Mr Switch - A story-telling experiment | 5,577 Kb |
Parallax landscape | 553,596 Kb |
Chuck Norris Quotes | 2,989 Kb |
Find most common word | 1,605 Kb |
Rogue Engine | 3,505 Kb |
Cage-o-graph | 5,338 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Experiment - SCSS SVG Background Image with Variables | See8ch | 3,270 Kb |
Ball bouncing loading animation | Adam2326 | 3,144 Kb |
A Pen by Tosh | Panev | 2,586 Kb |
Responsive Pricing Table | Jeremycaris | 2,690 Kb |
Drag and Drop Quiz | Cgspicer | 3,837 Kb |
Image grid with captions | Mchernin34 | 2,222 Kb |
CSS Grid Overlay | Cliffpyles | 3,090 Kb |
Wavy Road with Dashes | Jonobr1 | 2,679 Kb |
Transitioning application screens with semantically named classes | Djgrant | 3,697 Kb |
Sony Xperia Z3 Flat MockUp | Dapinitial | 4,379 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!