The Swear Machine

Developer
Size
2,532 Kb
Views
54,648

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 Previews

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;
The Swear Machine - Script Codes
The Swear Machine - Script Codes
Home Page Home
Developer David Storey
Username davidpanik
Uploaded July 12, 2022
Rating 3
Size 2,532 Kb
Views 54,648
Do you need developer help for The Swear Machine?

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!

David Storey (davidpanik) Script Codes
Create amazing Facebook ads with AI!

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!